mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* - change ObjectSchema<T>.shape() to ObjectSchema<T>.shape<U>() - changed Schema.validate*() to accept any type - made declaration of Ref more restrictive - bumped definitions version * Addressed PR feedback: - refined `ObjectSchema.shape()` with `Shape<T, U>` - added a few more test cases * added `GulpZipOptions.modifiedTime`
7 lines
257 B
TypeScript
7 lines
257 B
TypeScript
import GulpZip = require('gulp-zip');
|
|
|
|
GulpZip('file.zip').on('end', () => {});
|
|
GulpZip('file.zip', {}).on('end', () => {});
|
|
GulpZip('file.zip', {compress: false}).on('end', () => {});
|
|
GulpZip('file.zip', { modifiedTime: new Date(0) }).on('end', () => {});
|