Closed oliveryasuna closed 1 year ago
Not sure how to reproduce this. The starter app has no tsconfig.json so it does not demonstrate this, and if you enable frontend hotdeploy for it, the generated tsconfig.json already contains strict: true
and there are no errors
@Artur- You are right; however, this is reproducible with noImplicitOverride
.
vaadin.frontend.hotdeploy = true
to application.properties
."noImplicitOverride": true
to tsconfig.json
.Yeah, then I see it but it is just tsc
behavior that you also see by running node_modules/.bin/tsc
That makes sense then, since TSC includes imports from included files even if those imports are excluded.
Description of the bug
I added
"strict": true
to the generatedtsconfig.json
, but despite excludingfrontend/generated/jar-resources/**
, the TypeScript compiler still includes sources in that directory.For example:
This occurs for other properties, such as
noImplicitOverride
.Expected behavior
Standard behavior for TypeScript, i.e., follows excludes.
Minimal reproducible example
Starter app demonstrates this.
Versions