This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@useorbital/client-types
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

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'

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i @useorbital/client-types

    Weekly Downloads

    169

    Version

    1.6.0

    License

    MIT

    Unpacked Size

    6.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • bripkens
    • lostinpatterns
    • thiemok