parseToml
parseToml<
TOptions>(source,options?):TOptions["useBigInt"] extendsfalse|undefined?TomlTableWithoutBigInt:TomlTable
Defined in: packages/format-toml/src/parse.ts:8
Parses a TOML string into an object.
Type Parameters
Section titled “Type Parameters”TOptions
Section titled “TOptions”TOptions extends TomlParseOptions
Parameters
Section titled “Parameters”source
Section titled “source”string
options?
Section titled “options?”TOptions
Returns
Section titled “Returns”TOptions["useBigInt"] extends false | undefined ? TomlTableWithoutBigInt : TomlTable