Skip to content

Commit

Permalink
fix(schemastore-to-typescript): Supress keyv-file type errors
Browse files Browse the repository at this point in the history
Suppresses type errors from `keyv-file` upgrade.

Fixes #945.
  • Loading branch information
langri-sha committed Sep 1, 2024
1 parent 581a53f commit 7dea2eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix(schemastore-to-typescript): Supress `keyv-file` type errors",
"packageName": "@langri-sha/schemastore-to-typescript",
"email": "[email protected]",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/schemastore-to-typescript/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { KeyvFile } from 'keyv-file'
const debug = createDebug('schema-store-to-typescript')
const paths = envPaths('schemastore-to-typescript')

// @ts-expect-error: Error with `keyv-file` package.
const keyv = new Keyv({
store: new KeyvFile({
filename: path.join(paths.cache, 'requests.json'),
Expand Down

0 comments on commit 7dea2eb

Please sign in to comment.