typeScript
疯狂的夏铭予
smartx.cc
展开
-
TypeScript-数据类型
TypeScript数据类型原创 2022-06-04 12:10:51 · 370 阅读 · 0 评论 -
TypeScript-类
TypeScript的类型修饰符和抽象类原创 2022-06-03 18:15:49 · 101 阅读 · 0 评论 -
helloTypeScript
helloTypeScript function greeter(person: string) { return `hello${person}` } const user = 'typeScript' console.log(greeter(user)) var message = 'helloTypeScript'; console.log(message); tip 在文件夹下新建一个tsconfig.json文件,能解决vscode代码爆红异常 高效的编写ts 注意先用npm ini原创 2022-05-26 21:45:56 · 57 阅读 · 0 评论