Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 614 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 614 Bytes

@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