2

Is there any difference in Typescript between this 2 options for casting ?

1) <T>obj

2) obj as T
Hivaga
  • 3,738
  • 4
  • 23
  • 36

0 Answers0