https://github.com/chore-dev/utility-types
Collections of utility types
https://github.com/chore-dev/utility-types
inferface type typescript utility utility-type utility-types
Last synced: over 1 year ago
JSON representation
Collections of utility types
- Host: GitHub
- URL: https://github.com/chore-dev/utility-types
- Owner: chore-dev
- License: apache-2.0
- Created: 2024-05-08T09:29:19.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T11:10:05.000Z (about 2 years ago)
- Last Synced: 2025-02-13T20:36:08.485Z (over 1 year ago)
- Topics: inferface, type, typescript, utility, utility-type, utility-types
- Language: TypeScript
- Homepage: https://chore-dev-utility-types.vercel.app/
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Utility Types
Collection of utility types
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Documentation](https://chore-dev-utility-types.vercel.app/)
## Installation
```bash
# npm
npm install --save-dev @chore-dev/utility-types
```
```bash
# yarn
yarn add -D @chore-dev/utility-types
```
```bash
# pnpm
pnpm add -D @chore-dev/utility-types
```
## Usage
Using `DeepGetType` as an example:
```typescript
import {DeepGetType} from '@chore-dev/utility-types';
type DeepObject = {
a: {
b: {
c: {
d: string;
};
};
};
};
type DeepType = DeepGetType; // string
```
## Documentation
See [documentation](https://chore-dev-utility-types.vercel.app/) for more details.