mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* 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
7 lines
245 B
TypeScript
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() {}
|