Skip to content

Commit

Permalink
fix: remove useless ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Dec 10, 2023
1 parent 6c9e273 commit e1ecb84
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 47 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"sharp": "0.33.0",
"tsx": "4.6.2",
"typescript": "5.3.3",
"vite": "5.0.6",
"vitest": "1.0.2"
"vite": "5.0.7",
"vitest": "1.0.4"
}
}
91 changes: 47 additions & 44 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/emulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ export class Emulator {
for (const key in config) {
config[key] = `__${config[key]}__`
}
// @ts-expect-error `platform` option is not listed in @types/ini for now
let fileContent = ini.stringify(config, { whitespace: true, platform: 'linux' })
fileContent = fileContent.replaceAll('__', '"')
const fileName = basename(path)
Expand Down

0 comments on commit e1ecb84

Please sign in to comment.