Skip to content

EditJsonSyncParams<T>

Parameters for editJsonSync.

Import:

import type { EditJsonSyncParams } from '@mnaoumov/typescript-dev-toolkit/json';

Signature:

export interface EditJsonSyncParams<T> extends EditJsonSyncOptions

Extends: EditJsonSyncOptions

Properties

PropertyTypeDescription
editFunction(data: T) => voidThe function to edit the parsed JSON data.
pathstringThe path to the JSON file.

Links to this page: