Skip to main content

Function: writeSchema()

writeSchema(filePath, schema): Promise<void>

Defined in: store.ts:104

Writes a snapshot, creating the directory if needed.

Parameters

filePath

string

Destination path

schema

SaveSchema

Schema to persist

Returns

Promise<void>