mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Looking webpack's code-base: - purge() should be optional, and is only used on inputFileSystem: https://github.com/webpack/webpack/blob/v4.19.1/test/Compiler.test.js#L182 - Error can be undefined or null. `memory-fs` passes null and works. Also for memory-fs: - adjusted types based on current implementation (https://github.com/webpack/memory-fs/blob/v0.4.1/lib/MemoryFileSystem.js) - null for no-Error in most async methods, except for writeFile, where undefined is used. - added an integration test with webpack's input/outputFilesystem |
||
|---|---|---|
| .. | ||
| v3 | ||
| index.d.ts | ||
| package.json | ||
| tsconfig.json | ||
| tslint.json | ||
| webpack-tests.ts | ||