let notStr:any = 4 //any 类型notStr = 'maybe it is a string'notStr = truenotStr.getNamenotStr.getName()let numberOrString:number | string = 123 // 联合类型numberOrString = 'abc'numberOrString = true //报错了