# TypeScript学习 **Repository Path**: m-mie/type-script-learning ## Basic Information - **Project Name**: TypeScript学习 - **Description**: TypeScript学习笔记 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-01-01 - **Last Updated**: 2023-07-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TypeScript学习 咩咩的TypeScript学习笔记 ## 目录结构 ``` |-- TypeScript学习 |-- .gitignore |-- package-lock.json |-- package.json |-- README.md |-- tsconfig.json |-- 01-ts中的类型 | |-- index.ts |-- 02-类型断言 | |-- 01-基本使用.ts | |-- 02-as const.ts | |-- 03-解构中使用as const.ts | |-- 04-非空断言.ts |-- 03-类 | |-- 01-类的定义.ts | |-- 02-类的继承.ts | |-- 03-类的修饰符.ts | |-- 04-抽象类.ts | |-- 05-把类当做接口使用.ts |-- 04-接口 | |-- 01-接口的定义.ts | |-- 02-接口约束对象.ts | |-- 03-接口约束函数.ts | |-- 04-接口的合并.ts | |-- 05-接口的继承.ts | |-- 06-接口中的修饰符.ts | |-- 07-索引签名.ts |-- 05-函数 | |-- 01-为函数定义类型.ts | |-- 02-可选参数与默认参数.ts | |-- 03-剩余参数.ts | |-- 04-重载.ts |-- 06-泛型 | |-- 01-泛型的定义.ts | |-- 02-泛型约束.ts |-- 07-高级类型 | |-- 01-交叉类型.ts | |-- 02-联合类型.ts | |-- 03-类型别名.ts |-- 08-类型兼容 | |-- index.ts |-- 09-类型保护 | |-- 01-自定义类型保护.ts | |-- 02-typeof类型保护.ts | |-- 03-instanceof类型保护.ts |-- 10-装饰器 | |-- 01-装饰器定义.ts | |-- 02-类装饰器.ts | |-- 03-装饰器组合.ts | |-- 04-装饰器工厂.ts | |-- 05-方法装饰器.ts | |-- 06-访问器装饰器.ts | |-- 07-属性装饰器.ts | |-- 08-reflect-metadata.ts | |-- 09-参数装饰器.ts | |-- 10-装饰器应用.ts |-- 11-命名空间 | |-- 01-命名空间的使用.ts | |-- 02-命名空间的嵌套.ts |-- 12-类型工具 |-- 01-is.ts |-- 02-keyof.ts |-- 03-typeof.ts |-- 04-in.ts |-- 05-extends.ts |-- 06-infer.ts |-- 07-Exculde.ts |-- 08-Extract.ts |-- 09-Pick.ts |-- 10-Omit.ts |-- 11-Partial.ts |-- 12-Record.ts |-- 13-Required.ts |-- 14-Readonly.ts ```