Type Challenges Judge
Problems
Progress
Ranking
Remove Index Signature
Implement RemoveIndexSignature<T> , exclude the index signature from object types.
RemoveIndexSignature<T>
For example:
type Foo = { [key: string]: any; foo(): void; } type A = RemoveIndexSignature<Foo> // expected { foo(): void }