Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在以下文件的命令行(版本 1.4.1)上运行 tsc 时出现错误:test.ts (1,13): Expected ';'
var x: Array<number>; x = [2];
任何想法可能会发生什么?
检查您的路径 ( where tsc)。这是 TypeScript 的旧的泛型前版本(可能是 0.8?)发出的错误。
where tsc