Skip to content

fabiochiquezi/Chz-Library-TSUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published