Git Product home page Git Product logo

workspace2024's Introduction

workspace2024

2024年的代码仓库

ts-node运行命令

node --loader ts-node/esm --experimental-specifier-resolution=node src/index.ts --tsconfig tsconfig.json Node.js v20.10.0

reflect-metadata

如果代码中未给字段/参数指定类型或者类型是一个复合类型,最后通过reflect-metadata得到的类型会是Object

  • Reflect.getMetadata("design:paramtypes", clazz),获取类的构造函数/方法所有入参的类型(如[String,Number,SomeClass])。如果一个类没有直接定义构造函数,这里返回就会是undefined,除非它有父类
  • Reflect.getMetadata("design:paramtypes", target, methodName),获取类的方法所有入参的类型(如[String,Number,SomeClass])。
  • Reflect.getMetadata("design:type", target, memberName),获取字段的类型(如String|Number|SomeClass),如果被装饰者是方法,得到的结果就会是Function

提交格式: <type>(scope?): <subject>

  • type: 用于表明我们这次提交的改动类型,是新增了功能?还是修改了测试代码?又或者是更新了文档?
    • build: 编译相关的修改,例如发布版本、对项目构建或者依赖的改动
    • chore: 其他修改, 比如改变构建流程、或者增加依赖库、工具等
    • ci: 持续集成修改
    • docs: 文档修改
    • feat: 新特性、新功能
    • fix: 修改bug
    • perf: 优化相关,比如提升性能、体验
    • refactor: 代码重构
    • revert: 回滚到上一个版本
    • style: 代码格式修改, 注意不是 css 修改
    • test: 测试用例修改
    • ed: 通常的代码修改
    • types: 类型相关修改
  • scope:一个可选的修改范围。用于标识此次提交主要涉及到代码中哪个模块。
  • Subject:一句话描述此次提交的主要内容,做到言简意赅

workspace2024's People

Contributors

saber71 avatar

workspace2024's Issues

desktop: 开始菜单

2024-04-30 15-40-19屏幕截图
参考

  • 左侧功能按钮
  • 中间应用列表,按拼音首字母分类
  • 右侧应用磁贴,一栏磁贴3列,磁贴支持分类,磁贴支持拖拽改变位置,支持从应用列表拖拽出磁贴
  • 支持拉伸尺寸,水平尺寸必须能够完整的显示一栏磁贴(否则收缩尺寸)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.