Discokit is still a work in progress!

Reference
@discokit/types

@discokit/types

@discokit/types contains typings for common API structures, functions to convert raw objects from the API into Discokit objects, bitfields and additional helper functions.

Installation

This package is available within the discokit package.

import { ... } from "discokit/types"
💡

For TypeScript Users
The "moduleResolution" compiler option must be set to either node16, nodenext or bundler for the import to work.