文件名称:typescript-codes:记录自己学习TypeScript时遇到的一些有趣的代码
文件大小:37KB
文件格式:ZIP
更新时间:2024-06-03 10:52:54
TypeScript
打字稿代码 :sparkles:记录自己的学习TypeScript时遇到的一些有趣的代码。 src ├── InversifyJS │ ├── entities.ts │ ├── index.ts │ ├── interfaces.ts │ └── inversify.config.ts ├── better-scroll-plugins.ts ├── class-chaining.ts ├── connect-leetcode-hire.ts ├── const-assertions.ts ├── covariance-contravariance │ └── index.ts ├── create-reversed-map.ts ├── decorator │ ├── log-property.ts │ ├── method-decorator.ts │ └── pa
【文件预览】:
typescript-codes-master
----index.html(301B)
----.eslintrc.js(655B)
----src()
--------dispatch-conditional-types.ts(1KB)
--------covariance-contravariance()
--------getter-type-returntype.ts(446B)
--------decorator()
--------tree-property.ts(618B)
--------repeat-string.ts(512B)
--------vuex.ts(697B)
--------create-reversed-map.ts(668B)
--------type-vs-interface.ts(1KB)
--------type-brand.ts(834B)
--------union-to-intersection.ts(467B)
--------connect-leetcode-hire.ts(2KB)
--------distribute-conditional-type.ts(2KB)
--------partial-generic.ts(412B)
--------polymorphic-button.tsx(389B)
--------getter-type.ts(503B)
--------state-machine.ts(2KB)
--------reflect-metadata()
--------vue.ts(470B)
--------feat-4.0()
--------feat-4.1()
--------select-property()
--------dispatch-conditional-types-with-builtin-types.ts(1KB)
--------const-assertions.ts(963B)
--------polymorphic-this.ts(900B)
--------mixin-classes.ts(2KB)
--------merge()
--------discriminated-unions-select.ts(1KB)
--------ioc-loader()
--------InversifyJS()
--------flatten-object.ts(672B)
--------vue3-ref.ts(424B)
--------class-chaining.ts(218B)
--------function-property-names.ts(753B)
--------merge-functions.ts(438B)
--------exhaustiveness-checking.ts(564B)
--------tail.ts(545B)
--------better-scroll-plugins.ts(1KB)
--------getter-type-easy.ts(350B)
----.vscode()
--------launch.json(379B)
--------settings.json(54B)
----tsconfig.json(594B)
----README.md(2KB)
----global.d.ts(407B)
----.gitignore(255B)
----.eslintignore(12B)
----package.json(1KB)