mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 22:29:06 +00:00
d82ff3659f
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
6 lines
185 B
TypeScript
6 lines
185 B
TypeScript
import { getStaticTOMLValue, parseTOML } from 'toml-eslint-parser';
|
|
|
|
export function parse(input: string): unknown {
|
|
const ast = parseTOML(input);
|
|
return getStaticTOMLValue(ast);
|
|
}
|