mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
8 lines
153 B
TypeScript
8 lines
153 B
TypeScript
import union = require('arr-union');
|
|
|
|
// $ExpectType string[]
|
|
union(['a'], ['b', 'c'], ['d', 'e', 'f']);
|
|
|
|
// $ExpectType number[]
|
|
union([1, 1], [2, 3]);
|