1.0.1 • Published 1 year ago

@fabiochiquezi/ts-utils v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1.0.1

1 year ago

1.0.0

1 year ago