We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d64079 commit 9c13839Copy full SHA for 9c13839
index.ts
@@ -6,7 +6,6 @@ import { Readable, Writable } from 'stream'
6
import { writeFile, writeFileSync } from 'fs';
7
import { promisify } from 'util';
8
9
-
10
function toArray<T>(source?:T|T[]):T[] {
11
if (typeof source === 'undefined' || source === null) {
12
return [];
0 commit comments