UNPKG

@modern-js/codesmith-api-json

Version:
3 lines (2 loc) 226 B
import type { FsResource, GeneratorCore } from '@modern-js/codesmith'; export declare function editJson(generatorCore: GeneratorCore, resource: FsResource, getNewJsonValue: (text: string) => Promise<string>): Promise<string>;