(kind, isAmbient)
| 85923 | ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.pop(); |
| 85924 | } |
| 85925 | function unusedIsError(kind, isAmbient) { |
| 85926 | if (isAmbient) { |
| 85927 | return false; |
| 85928 | } |
| 85929 | switch (kind) { |
| 85930 | case 0 /* UnusedKind.Local */: |
| 85931 | return !!compilerOptions.noUnusedLocals; |
| 85932 | case 1 /* UnusedKind.Parameter */: |
| 85933 | return !!compilerOptions.noUnusedParameters; |
| 85934 | default: |
| 85935 | return ts.Debug.assertNever(kind); |
| 85936 | } |
| 85937 | } |
| 85938 | function getPotentiallyUnusedIdentifiers(sourceFile) { |
| 85939 | return allPotentiallyUnusedIdentifiers.get(sourceFile.path) || ts.emptyArray; |
| 85940 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…