DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
how to define optional parameter in typescript
function functionName(par1: number, par2?: number) { }
Source by dotnetpattern.com #
PREVIOUS
NEXT
Tagged:
#define
#optional
#parameter
#typescript
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit