Skip to content

Get Started

Installation

bash
npm install @utype/core --save-dev
bash
yarn add @utype/core -D
bash
pnpm add @utype/core -D

Usage Example

Simply importing the utility type you need from @utype/core

ts
import type { 
Mutable
} from '@utype/core'
type
Props
= { readonly
name
: string };
// Expect: { name: string } type
MutableProp
=
Mutable
<
Props
>

Refer to type list for more details.