MCPcopy Create free account
hub / github.com/CatMuse/HiNote / cloneSettings

Function cloneSettings

src/settings/SettingsMigration.ts:83–85  ·  view source on GitHub ↗
(settings: PluginSettings)

Source from the content-addressed store, hash-verified

81}
82
83function cloneSettings(settings: PluginSettings): PluginSettings {
84 return JSON.parse(JSON.stringify(settings)) as PluginSettings;
85}

Callers 1

createDefaultSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected