Files
Andrew BradleyandGitHub 3cfca34905 Set of extra ignored diagnostics for REPL mode (#1396)
* empty commit

* Add mechanism to ignore diagnostics in certain files; use it to ignore annoying diagnostics in the REPL

* misc cleanup of commented-out code

* Apply the new diagnostic filtering only to interactive REPL; not to [stdin] nor [eval]

* Fix missing addDiagnosticFilter implementation; lint format

* WIP

* Finish; add tests

* revert unnecessary formatting changes
2021-07-21 17:55:20 -04:00

7 lines
245 B
TypeScript

// This script triggers a diagnostic that is ignored in the virtual <REPL> file but
// *not* in files such as this one.
// When this file is required by the REPL, the diagnostic *should* be logged.
export {};
function foo() {}
function foo() {}