区别就在于type关键字可以给其它类型起别名,比如: type a = number 之后如果定义变量: const b: a = 'some string' 编译器就会报错,因为b的字符串类型和number冲突。