typescript用法注解全都在这里了
typescript语法讲解都写在这里了,通过注释就能看懂ts到底怎么使用
“写文案讲解代码真的很累不如直接手撸来得快,今天偷懒,看不懂的地方看两遍就懂”
//首先知道 JS 7 个数据类型 number , string ,boolen, symbol, undefined , Array , bigint
// -------------> 定义类型
let num: number = 0
let str: string = '123'
let bol: boolean = true
let a
原创
2021-07-29 22:10:52 ·
737 阅读 ·
0 评论