Skip to content

Commit 8b5016b

Browse files
committed
fix lint error on shadowed name
1 parent 4258895 commit 8b5016b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ const typescript: PluginImpl<RPT2Options> = (options) =>
5656
}));
5757
}
5858

59-
const typecheckFile = (id: string, snapshot: tsTypes.IScriptSnapshot, context: IContext) =>
59+
const typecheckFile = (id: string, snapshot: tsTypes.IScriptSnapshot, tcContext: IContext) =>
6060
{
6161
const diagnostics = getDiagnostics(id, snapshot);
62-
printDiagnostics(context, diagnostics, parsedConfig.options.pretty === true);
62+
printDiagnostics(tcContext, diagnostics, parsedConfig.options.pretty === true);
6363

6464
if (diagnostics.length > 0)
6565
noErrors = false;

0 commit comments

Comments
 (0)