JSPM

  • Created
  • Published
  • Downloads 948
  • Score
    100M100P100Q111283F
  • License MIT

Ozone type definitions for atcute

Package Exports

  • @atcute/ozone/lexicons

Readme

@atcute/ozone

Ozone type definitions for @atcute/client, a lightweight and cute API client for AT Protocol.

usage

you'd need to import @atcute/ozone/lexicons into your project, either by adding it into the types field in tsconfig.json or by importing it on your source code.

// tsconfig.json
{
    "compilerOptions": {
        "types": ["@atcute/ozone/lexicons"],
    },
}
// env.d.ts
/// <reference types="@atcute/ozone/lexicons" />
// index.ts
import '@atcute/ozone/lexicons';

newly added lexicons are augmented to @atcute/client/lexicons module