mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-27 22:49:20 +08:00
7 lines
202 B
TypeScript
7 lines
202 B
TypeScript
import streamify = require('stream-array');
|
|
|
|
streamify(); // $ExpectError
|
|
streamify('abc'); // $ExpectError
|
|
streamify([]); // $ExpectType Readable
|
|
streamify([1, '2', { 3: 4 }]); // $ExpectType Readable
|