source:
node_modules/ts-toolbelt/out/Any/Keys.d.ts
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 237 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | import { List } from '../List/List'; |
2 | /** | |
3 | * Get the keys of `A` | |
4 | * @param A | |
5 | * @returns [[Key]] | |
6 | * @example | |
7 | * ```ts | |
8 | * ``` | |
9 | */ | |
10 | export declare type Keys<A extends any> = A extends List ? Exclude<keyof A, keyof any[]> | number : keyof A; |
Note:
See TracBrowser
for help on using the repository browser.