1 Matching Annotations
- Feb 2020
-
www.typescriptlang.org www.typescriptlang.org
-
Confusingly, the colon here does not indicate the type. The type, if you specify it, still needs to be written after the entire destructuring:
Destructuring an object in TypeScript with Types is very counterintituive.
-