打字稿:将TypeScript添加到流星

时间:2021-03-01 17:00:09
【文件属性】:
文件名称:打字稿:将TypeScript添加到流星
文件大小:4KB
文件格式:ZIP
更新时间:2021-03-01 17:00:09
JavaScript 不推荐使用! 使用 用于流星的TypeScript编译器 默认情况下,TypeScript文件被编译到ES5和CommonJS模块中。 基于TypeScript@2.8.3 默认编译器选项为JSON: { " module " : " commonjs " , " target " : " es5 " , " moduleResolution " : " node " , " experimentalDecorators " : true , " emitDecoratorMetadata " : true , " sourceMap " : true } ES6 可以在Meteor> = 1.4的服务器上使用ES6。 如果要编译到服务器上的ES6,请将tsconfig.json放入服务器文件夹中: { " compilerOptions " : {
【文件预览】:
typescript-master
----.gitignore(29B)
----package.js(766B)
----plugin.js(164B)
----LICENSE(1KB)
----README.md(3KB)
----tests()
--------runtime-tests.ts(485B)
--------runtime-react-tests.tsx(398B)

网友评论