DefinitelyTyped/types/webpack
Avi Vahl 03813378cf [webpack] improve input/outputFilesystem types (#29016)
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
2018-09-19 16:25:18 +01:00
..
v3
index.d.ts
package.json
tsconfig.json
tslint.json
webpack-tests.ts