mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-04 06:02:08 +08:00
10 lines
238 B
TypeScript
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)
|
|
}
|