rs-toolchain/types/fast-toml/index.d.ts
2022-01-08 00:08:21 -05:00

9 lines
318 B
TypeScript

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;
}