Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 572 Bytes

CONTRIBUTING.md

File metadata and controls

16 lines (9 loc) · 572 Bytes

Contributing

All contributions to ts-essentials are welcomed.

Do you have idea for a new type? Please, first submit github issue (or send me PM) and describe your proposal.

Adding new types

  • lib/types.ts — pure types, with 0 runtime overhead
  • lib/functions.ts — functions that incur some runtime overhead

Please make sure to add new type to README (both menu and description).

When you're done with your changes use yarn test:fix to run prettier to reformat code and tsc to make sure that there are no compilation errors.

Thanks! 🙏🏻