Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.42 KB

File metadata and controls

16 lines (11 loc) · 1.42 KB

Remove Index Signature medium #object-keys

by hiroya iizuka @hiroyaiizuka

Take the Challenge    한국어

Implement RemoveIndexSignature<T> , exclude the index signature from object types.

For example:

type Foo = {
  [key: string]: any
  foo(): void
}

type A = RemoveIndexSignature<Foo> // expected { foo(): void }

Back Share your Solutions Check out Solutions