0.0.11 • Published 2 years ago
@real-system/utils v0.0.11
Usage
# install peer dependencies
# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom
# install utils
# npm
$ npm install @real-system/utils
# yarn
$ yarn add @real-system/utils
Code Example
import { ValueOf } from '@real-system/utils';
const obj = {
keyOne: 'one',
keyTwo: 'two,
}
type Values = ValueOf<typeof obj>;
// output: type Values = 'one' | 'two';