2.0.8 • Published 2 years ago

@gtomato-web/utility-types v2.0.8

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Utility Types

Collection of utility types

Table of Contents

Installation

# npm
npm install --save-dev @gtomato-web/utility-types
# yarn
yarn add -D @gtomato-web/utility-types
# pnpm
pnpm add -D @gtomato-web/utility-types

Usage

Using DeepGetType as an example:

import {DeepGetType} from '@gtomato-web/utility-types';

type DeepObject = {
  a: {
    b: {
      c: {
        d: string;
      };
    };
  };
};

type DeepType = DeepGetType<DeepObject, 'a.b.c.d'>; // string

Documentation

See documentation for more details.

2.0.3

2 years ago

2.0.2

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.8

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago