DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
Catch clause variable cannot have a type annotation.
catch
(
err
)
{
if
(
err
instanceof
Error
)
{
}
}
PREVIOUS
NEXT
Tagged:
#Catch
#clause
#variable
#type
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit