📜  迁移到打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:30.983000             🧑  作者: Mango

代码示例2
// Typescript is a superset of JavaScript.
// This means that any JavaScript code is also valid TypeScript by default.
// Just use a .ts file instead and add a build task, then start adding types.