TypeScript error TS1005: ';' expected (II)

后端 未结 9 1022
旧巷少年郎
旧巷少年郎 2020-12-09 02:11

First of all, I\'ve already seen the other posts about error TS1005. Same error code, but totally different.

A simple let x: number; will gener

9条回答
  •  醉梦人生
    2020-12-09 02:49

    If you're getting error TS1005: 'finally' expected., it means you forgot to implement catch after try. Generally, it means the syntax you attempted to use was incorrect.

提交回复
热议问题