ts-interface-keys-transformer icon indicating copy to clipboard operation
ts-interface-keys-transformer copied to clipboard

Isn't keys() type wrong ?

Open vicb opened this issue 5 years ago • 2 comments

keys() type is export declare function keys<T extends object>(): Array<keyof T>;

but it seems like it should return {name: string, ...}[] ?

vicb avatar Oct 29 '20 21:10 vicb

sadly, https://github.com/nullcc/ts-interface-keys-transformer/pull/3 is being ignored

devilj avatar Dec 23 '20 05:12 devilj

#12 Parsing field notes, and fix declared function type

dohard-ma avatar Dec 29 '20 07:12 dohard-ma