Microsoft/TypeScript

is not under 'rootDir' 'src/'. even with exclude

Open

#30.162 geöffnet am 1. März 2019

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (6.726 Forks)batch import
Experience EnhancementHelp WantedSuggestion

Repository-Metriken

Stars
 (48.455 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (9 gemergte PRs in 30 T)

Beschreibung

exclude compiler option is not working at all! I'm specifying exclude to the folder gen (and even ./gen) and still receiving the error below.

TypeScript Version: 3.3.3333

Search Terms:

Code

// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.

Expected behavior: No errors.

Actual behavior:

error TS6059: File '.../ts-lang/gen/grammar/MyLangLexer.ts' is not under 'rootDir' 'src/'. 'rootDir' is expected to contain all source files.

Playground Link:

Related Issues:

Contributor Guide