mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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]);
|