mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Set back permute definition
Typescript 2.1 make travis fail
This commit is contained in:
Vendored
+1
-1
@@ -199,7 +199,7 @@ export function permute<T>(array: { [key: number]: T }, keys: number[]): T[];
|
||||
/**
|
||||
* Given the specified object, return an array corresponding to the list of property names in 'keys'.
|
||||
*/
|
||||
export function permute<T, K extends keyof T>(object: T, keys: K[]): T[K][];
|
||||
export function permute<T>(object: { [key: string]: T }, keys: string[]): T[];
|
||||
|
||||
/**
|
||||
* Generates a 0-based numeric sequence. The output range does not include 'stop'.
|
||||
|
||||
Reference in New Issue
Block a user