GT2/GT2-iOS/node_modules/idx/lib/idx.d.ts

8 lines
234 B
TypeScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
/**
* @param { T1 } prop - Parent Object
* @param { Function } accessor - Accessor function
* @return { T2 }
*/
export declare function idx<T1, T2>(prop: T1, accessor: (prop: T1) => T2): T2 | null | undefined;
export default idx;