DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript different types support
function getLength(obj: string | string[]) { return obj.length; }
Source by www.typescriptlang.org #
PREVIOUS
NEXT
Tagged:
#typescript
#types
#support
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit