DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript cast to type remove properties
type A = { foo: 1, bar: 2 } type B = { foo: 'asdf' } type C = Pick<A, keyof B>
Source by www.reddit.com #
PREVIOUS
NEXT
Tagged:
#typescript
#cast
#type
#remove
#properties
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit