toolchain/types/fast-toml/index.d.ts

10 lines
318 B
TypeScript
Raw Normal View History

2022-01-08 13:08:21 +08:00
declare module "fast-toml" {
export function parse<R extends Record<string, unknown>>(input: string): R;
export function parseFile<R extends Record<string, unknown>>(
file: string
): Promise<R>;
export function parseFileSync<R extends Record<string, unknown>>(
file: string
): R;
}