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

1.0.1 • Public • Published

TS Utils

Some simple functionalities to help the work with TS. See more in the documentation at chiquezi.com/libraries/ts-utils

🚀 Getting Started

// Install
yarn add @fabiochiquezi/ts-utils or npm install @fabiochiquezi/ts-utils

// Usage
import * as fns from '@fabiochiquezi/ts-utils'

📡 Examples

const forceNarrowString: (str: any) => string;

type IResp<T> = IResponseSuccess<T> | IResponseError;

type IOverwrite<T, U> = Pick<T, Exclude<keyof T, keyof U>> & U;

Author

Readme

Keywords

Package Sidebar

Install

npm i @fabiochiquezi/ts-utils

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

10.4 kB

Total Files

19

Last publish

Collaborators

  • fabiochiquezi