Skip to content

--watch doesn't realize when --strict mode flags are changed #26195

@DanielRosenwasser

Description

@DanielRosenwasser
// ./foo.ts
declare function foo(): null | { hello: any };

foo().hello
// ./tsconfig.json
{
    "compilerOptions": {
    }
}

Run with --watch, and try toggling on/off --strict or --strictNullChecks.

Expected: Efforts appear and reappear when toggling.
Actual: Errors stay the same as initial run.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions