Add missing parenthesis

This commit is contained in:
Romain Faust
2018-08-23 19:32:01 +02:00
parent de1d976af9
commit e25a5cc4c0

View File

@@ -5,5 +5,5 @@ imagemin(['*.png'], 'dist').then((results: imagemin.Result[]) => { /* ... */ });
imagemin(['*.png'], { plugins: [] }).then((results: imagemin.Result[]) => { /* ... */ });
imagemin(['*.png'], 'dist', { plugins: [] }).then((results: imagemin.Result[]) => { /* ... */ });
imagemin.buffer(Buffer.from[/* ... */]).then((result: Buffer) => { /* ... */ });
imagemin.buffer(Buffer.from[/* ... */], { plugins: [] }).then((result: Buffer) => { /* ... */ });
imagemin.buffer(Buffer.from([/* ... */])).then((result: Buffer) => { /* ... */ });
imagemin.buffer(Buffer.from([/* ... */]), { plugins: [] }).then((result: Buffer) => { /* ... */ });