compile typings in strict mode to include undefined and null in types
This commit is contained in:
parent
f1caa150da
commit
4c288fead3
|
@ -153,7 +153,7 @@ class Module extends DependenciesBlock {
|
|||
this._errors = undefined;
|
||||
/** @type {BuildMeta} */
|
||||
this.buildMeta = undefined;
|
||||
/** @type {object} */
|
||||
/** @type {Record<string, any>} */
|
||||
this.buildInfo = undefined;
|
||||
/** @type {Dependency[] | undefined} */
|
||||
this.presentationalDependencies = undefined;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"noEmit": true,
|
||||
"strict": false,
|
||||
"strict": true,
|
||||
"noImplicitThis": true,
|
||||
"alwaysStrict": true,
|
||||
"types": ["node"],
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue