摘要: 目前所有外部图像资源都已同步至pic.irun2u.top 如有需要可F12/MD自行替换图床链接 正常格式: http[s]://pic.irun2u.top/xxx.png http://img.irun2u.top/xxx.png 水印格式: http[s]://pic.irun2u.top/ 阅读全文
posted @ 2022-12-15 13:50 yub4by 阅读(53) 评论(1) 推荐(0) 编辑
摘要: 1. 概述 2. 语法 3. 避免命名冲突 4. 默认导入导出 阅读全文
posted @ 2024-04-30 14:36 yub4by 阅读(3) 评论(0) 推荐(0) 编辑
摘要: enum Season { SPRING, SUMMER, AUTUMN, WINTER } let spring:Season = Season.SPRING; console.log(spring); //0 console.log(typeof spring); //number consol 阅读全文
posted @ 2024-04-30 14:32 yub4by 阅读(1) 评论(0) 推荐(0) 编辑
摘要: //接口: 通常情况下,接⼝中只会包含属性和⽅法的声明,⽽不包含具体的实现细节,具体的细节由其实现类完成 interface Person9 { id: number; name: string; age: number; introduce(): void; } //实现类中,需要包含接⼝属性的赋 阅读全文
posted @ 2024-04-30 14:10 yub4by 阅读(1) 评论(0) 推荐(0) 编辑
摘要: class Person { //实例属性 id: number; name: string; age: number = 18; //构造函数 constructor(id: number, name: string) { this.id = id; this.name = name; } //实 阅读全文
posted @ 2024-04-30 14:09 yub4by 阅读(1) 评论(0) 推荐(0) 编辑
摘要: console.log('hi ts'); //声明变量 let a: number = 10; //声明常量 const b: number = 20; // 类型推断:如果⼀个变量或常量的声明包含了初始值,TS便可以根据初始值进⾏类型推断,此时可以不显式指定其类型 let c = 60; con 阅读全文
posted @ 2024-04-30 13:54 yub4by 阅读(3) 评论(0) 推荐(0) 编辑
摘要: nvm off // 禁用 Node.js 版本管理(不卸载任何东西) nvm on // 启用 Node.js 版本管理 nvm v || nvm version // 查看 nvm 版本 nvm use <version> // 切换使用指定的版本 node nvm ls // 列出所有安装的版 阅读全文
posted @ 2024-04-08 09:42 yub4by 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 1. 监听器 https://www.cnblogs.com/elnimo/p/15641367.html CommandLineRunner https://blog.csdn.net/qq_34531925/article/details/82527066 https://www.cnblogs 阅读全文
posted @ 2023-12-07 11:03 yub4by 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 使用 Chrome 浏览器 59 或更高版本chrome://settings/help 进入待截图的网页 按下 F12 快捷键(或鼠标右键 >> 审查元素),调出 Web 开发者工具 按下 Ctrl + Shift + P 快捷键,调出指令执行界面 输入 Capture full size scr 阅读全文
posted @ 2023-09-19 15:05 yub4by 阅读(43) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/ChineseSoftware/article/details/118413481 https://blog.csdn.net/m0_56199142/article/details/132176400 https://blog.csdn.net/qq_5 阅读全文
posted @ 2023-09-14 14:03 yub4by 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_42446001/article/details/110135937 阅读全文
posted @ 2023-09-14 13:54 yub4by 阅读(92) 评论(0) 推荐(0) 编辑