x typescript-eslint(triple-slash-reference): Do not use a triple slash reference for './globals.d.ts', use `import` style instead.
,-[api\upms\apiDefinitions.ts:1:1]
1 | ///<reference path='./globals.d.ts' />
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | /* tslint:disable */
`----
help: Use of triple-slash reference type directives is generally discouraged in favor of ECMAScript Module imports.
在
.ts
文件中使用triple-slash-reference
导入类型会报下图的错误,应该使用import
来导入类型