Skip to content

Latest commit

 

History

History

whitewind

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@atcute/whitewind

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

usage

you'd need to import @atcute/whitewind/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/whitewind/lexicons"],
	},
}
// env.d.ts
/// <reference types="@atcute/whitewind/lexicons" />
// index.ts
import '@atcute/whitewind/lexicons';

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