2.0.8 • Published 1 year ago

@gtomato-web/utility-types v2.0.8

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year 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

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.8

1 year 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