Files
clash-verge-rev/scripts/react/yaml.ts
T

10 lines
238 B
TypeScript

import * as yaml from 'fixture-yaml'
export * from 'fixture-yaml'
import { fixture } from './state'
export function dump(value: any, options: any) {
fixture.serialized.push(structuredClone(value))
return yaml.dump(value, options)
}