1.6.0 • Published 2 years ago

@useorbital/client-types v1.6.0

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

Orbital Client Types

This package contains TypeScript type definitions for Orbital's client.

Installation

npm install --save @useorbital/client-types

Use

Add the following to your tsconfig.json:

{
  "compilerOptions": {
    "typeRoots": ["./node_modules/@types", "./node_modules/@useorbital"]
  }
}

or add the following to each of your typescript files that call orbital(…):

/// <reference path="../node_modules/@useorbital/client-types/index.d.ts"/>

replace .. with the relative path to the node_modules dir

Local import

If you prefer to use local imports you can do this:

import type { orbital } from '@useorbital/client-types/types'
1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago