diff --git a/index.ts b/index.ts index 99cb98d..2e11569 100644 --- a/index.ts +++ b/index.ts @@ -640,10 +640,7 @@ function getDtsExportKind(sourceFile: ts.SourceFile): InferenceResult modifier.kind === ts.SyntaxKind.ExportKeyword); - } - return false; -} - function matches(srcFile: ts.SourceFile, predicate: (n: ts.Node) => boolean): boolean { function matchesNode(node: ts.Node): boolean { if (predicate(node)) return true; diff --git a/package-lock.json b/package-lock.json index b0807be..09574f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "dts-critic", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 1, "requires": true, "dependencies": {