@lcdev/ts
TypeScript icon, indicating that this package has built-in type declarations

0.2.9 • Public • Published

@lcdev/ts

Licensed under MPL 2.0 npm BundlePhobia

TypeScript common helpers and core library

yarn add @lcdev/ts@0.2

This library has some disjointed exported types that all have been found useful in multiple projects. Very similar to other typescript utility libraries out there, but it's nice to have control over our own.

Most common types that we use:

  • Json
  • Merge<A, B>
  • NonOptional<Obj, Keys>
  • AllNonOptionl<Obj>
  • DeepPartial<T>
  • Option<T>
  • Result<T, Err>
  • Nullable
  • ReturnType<Func>
  • Class<T>

Readme

Keywords

none

Package Sidebar

Install

npm i @lcdev/ts

Weekly Downloads

4,030

Version

0.2.9

License

MPL-2.0

Unpacked Size

10.7 kB

Total Files

6

Last publish

Collaborators

  • jbrandtlc
  • joelgallant-me
  • servalldev
  • gregnr