mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
7 lines
193 B
TypeScript
7 lines
193 B
TypeScript
import uniqueRandomArray = require('unique-random-array');
|
|
|
|
// $ExpectType () => number
|
|
uniqueRandomArray([1, 2, 3, 4]);
|
|
// $ExpectType () => string | number
|
|
uniqueRandomArray(["1", 2, 3, 4]);
|