diff --git a/src-node/index.spec.ts b/src-node/index.spec.ts index 6404f29..6f3c0fe 100644 --- a/src-node/index.spec.ts +++ b/src-node/index.spec.ts @@ -215,8 +215,6 @@ describe('fastFindInFiles', () => { { options: { directory: './fixtures', needle: 'valid', excludeFolderPaths: [''] } }, { options: { directory: './fixtures', needle: 'valid', excludeFolderPaths: ['some/path/'] } }, ])('throws for invalid options: "%o"', ({ options }) => { - // eslint-disable-next-line @typescript-eslint/ban-ts-ignore - // @ts-ignore - testing invalid input - expect(() => fastFindInFiles(options)).toThrowErrorMatchingSnapshot() + expect(() => fastFindInFiles(options as any)).toThrowErrorMatchingSnapshot() }) }) diff --git a/src-node/index.ts b/src-node/index.ts index 5b11674..616c8c1 100644 --- a/src-node/index.ts +++ b/src-node/index.ts @@ -1,4 +1,4 @@ -// eslint-disable-next-line @typescript-eslint/ban-ts-ignore +// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore import binding from '../build/Release/binding.node'