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

10 lines
318 B
TypeScript
Raw Normal View History

2022-01-08 07:08:21 +02: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;
}