Fix strictNullChecks with webpack

This commit is contained in:
Mohamed Hegazy
2016-07-08 20:47:29 -07:00
parent 16a182de32
commit 2e97e04bc9

2
webpack/index.d.ts vendored
View File

@@ -209,7 +209,7 @@ declare namespace webpack {
Buffer?: boolean;
__filename?: boolean | string;
__dirname?: boolean | string;
[nodeBuiltin: string]: boolean | string;
[nodeBuiltin: string]: boolean | string | undefined;
}
type LoaderCondition = string | RegExp | ((absPath: string) => boolean);