JSPM

  • Created
  • Published
  • Downloads 692
  • Score
    100M100P100Q109625F
  • License BSD-3-Clause

TypeScript utilities

Package Exports

  • @flex-development/tutils

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 (@flex-development/tutils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Tutils

Conventional Commits TypeScript

Overview

Getting Started
Installation
Usage
Built With
Contributing

Getting Started

TypeScript utilities.

Installation

yarn add @flex-development/tutils # or npm i @flex-development/tutils

Usage

import type { ObjectPath } from '@flex-development/tutils'

const object = {
  top_level: true,
  nested: { data: true }
}

const object_top_level_path: ObjectPath<typeof object> = 'top_level'
const object_nested_data_path: ObjectPath<typeof object> = 'nested.data'

See all type definitions.

Built With