Package Exports
- @real-system/types-library
- @real-system/types-library/lib/index.esm.js
- @real-system/types-library/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@real-system/types-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@real-system/types-library
Types library for real system.
Usage
# install peer dependencies
# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom
# install types
# npm
$ npm install @real-system/types-library
# yarn
$ yarn add @real-system/types-libraryCode Example
import type { ValueOf } from '@real-system/types-library';
const obj = {
keyOne: 'one',
keyTwo: 'two,
}
type Values = ValueOf<typeof obj>;