mirror of
https://github.com/actions-rs/toolchain.git
synced 2025-09-06 16:21:57 +03:00
Add support for reading toml files
This commit is contained in:
parent
5613870e6d
commit
cebe54f42a
4 changed files with 10181 additions and 19 deletions
9
types/fast-toml/index.d.ts
vendored
Normal file
9
types/fast-toml/index.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue