摘要: 这节具体看看 websocket-networking 是如何启动startup 的 从前面知道,必须有个 server-events 文件夹 const features = [ // quest goals/rewards have to be loaded before areas that 阅读全文
posted @ 2023-02-04 10:43 cslie 阅读(50) 评论(0) 推荐(0)
摘要: 初学typescript,分析的不到位欢迎指正。 ecs-lite 基于 ts 实现的纯 ecs 库,可用于学习交流及 H5 游戏开发! https://gitee.com/aodazhang/ecs-lite?_from=gitee_search 文档 https://aodazhang.com/ 阅读全文
posted @ 2023-01-19 16:59 cslie 阅读(244) 评论(0) 推荐(0)
摘要: TypeScript 使用指南手册 http://www.patrickzhong.com/TypeScript/zh/reference/declaration-merging.html 阅读全文
posted @ 2023-01-19 08:52 cslie 阅读(2) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/m0_62516225/article/details/127689879 阅读全文
posted @ 2023-01-18 11:06 cslie 阅读(64) 评论(0) 推荐(0)
摘要: 1. 属性或参数中使用 ?:表示该属性或参数为可选项 2. 属性或参数中使用 !:表示强制解析(告诉typescript编译器,这里一定有值),常用于vue-decorator中的@Prop 3. 变量后使用 !:表示类型推断排除null、undefined 例如 private _options! 阅读全文
posted @ 2023-01-18 11:01 cslie 阅读(2675) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示