# tyoescript-express **Repository Path**: like129/tyoescript-express ## Basic Information - **Project Name**: tyoescript-express - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-24 - **Last Updated**: 2021-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## tsc --init 项目初始化 ## tsconfig.json ts配置文件 # concurrently 解决前端工程化 并行的问题 ## 装饰器 学习 ## 类装饰器 参数 target: 类的构造函数 ## 类的静态方法 装饰器 target : 类的构造函数 , key: 方法名 ## 类方法的装饰器:参数: target: 类的原型 key: 方法名 ## 类属性的装饰器 参数 target: 类的原型, key: 属性名 descriptor: 属性描述 ## 类中访问器的装饰器 参数 target: 类的原型, key: 属性名 descriptor: 属性描述 ## 普通方法 target 对应的是类的prototype对象 ## 静态方法 target 对应的类的构造函数 ## 类中方法的参数加装饰器 target 类的原型,key: 方法名 index:参数所在的位置