大约有 151 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)
问一个typescript的问题 虽然这个在这里提问不太合适,但仍然希望有高手帮忙解答下。 我写了一个类 class Runner extends Laya.Sprite { } 在src/Runner.ts里面 现在我准备开发多人对战版本,于是准备再写一个多人模块,包含相关的一些类 ...
来源: Laya_社区 发布时间: 20170203
Typescript tsconfig baseurl 编译报错 想用import a from "core/view/ViewBase" 代替 from "../../../core/view/ViewBase" 再tsconfig.json 配置了baseurl = "./src" 但是编译会报错: Error: Cannot find module 'core/view/ViewBase' from 'E:\developer\project\svn_wjbj\endLess\src' at E:\devel...
来源: Laya_社区 发布时间: 20190324
分享 使用typescript开发项目,解决文件引用顺序问题 前几天好像看到有人说使用typescript开发项目时编译出来的js文件引用顺序不正确,我今天试了下,可以使用ts的import/export处理这个问题 一、调试 修改tsconfig.json,把module和targe...
来源: Laya_社区 发布时间: 20171120
laya 2.0 typescript console.log 为何不能智能识别 ts 文件行号? layabox可以识别console.log()当前所在行号,在右边一个小小的地方可以点击到行。 但是,如果自己调用了typescript的Error对象的stack属性,对输出的文件行号不能智能识别...
来源: Laya_社区 发布时间: 20181105
编译Typescript项目时卡死,通过node断点调试layaair-cmd,已定位是tsSort.js问题 系统及版本: IDE:1.7.21Engine:1.7.21OS: Windows10Node: v8.12.0 复现步骤:(或者直接github地址:https://github.com/raofr/laya_compile_bug) 创建TypeScript空项目 修...
来源: Laya_社区 发布时间: 20181115
...ions/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:17187:30) at lodash_3 (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:24954:23) at array...
来源: Laya_社区 发布时间: 20200311
...r (D:\Software\Develop\LayaAirIDE\resources\app\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:17187:30) at lodash_3 (D:\Software\Develop\LayaAirIDE\resources\app\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:24954:23) at arrayEach (D:\Sof...
来源: Laya_社区 发布时间: 20211009
...odejs\node_global\npm\node_modules\layaair2-cmd\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:17194:30) at lodash_3 (D:\Program Files\nodejs\node_global\npm\node_modules\layaair2-cmd\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:24...
来源: Laya_社区 发布时间: 20200704
# 项目发布2.0详解 > author: charley version: LayaAir IDE 2.0.0 正式版 update:2019-1-16 项目菜单的发布功能是非常核心的功能,通常是用于游戏的JS合并、JS压缩与混淆、图片压缩、版本管理、游戏不同平台的适配等。在项目完成开发,或阶...
来源: Laya2.0_文档 发布时间: 20210715
...----------------------------------- 编译结束,耗时1.469s 出错了: TypeScript error: src/layaair3d.ts(26,24): Error TS2339: Property 'direction' does not exist on type 'DirectionLight'. 打开 LayaAir3D.ts 文件,发现报了5条错误: 是不是新建3D项目的模板还没...
来源: Laya_社区 发布时间: 20180916