React Native 新建的项目报错 vscode 'type aliases' can only be used in a .ts file.
typeProps={}"typealiases"只能在.ts文件中使用。ts方法:修改设置的settings.json文件,加上一行"javascript.validate.enable":false,File->Preferences->Usersettings,andaddthefollowingline"javascript.validate.enable":false最后是这样:sett