diff options
author | Vendicated <vendicated@riseup.net> | 2022-09-16 22:59:34 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-09-16 22:59:34 +0200 |
commit | 71a60a0359eda13221f2314c0b1c33c86f240fd3 (patch) | |
tree | cbf6048c91034ac77ac61494cf0975fd0d229e0e /src/api/settings.ts | |
parent | 5f62d2d3ec2cfbb39b0663e96b82746384ef1b89 (diff) | |
download | Vencord-71a60a0359eda13221f2314c0b1c33c86f240fd3.tar.gz Vencord-71a60a0359eda13221f2314c0b1c33c86f240fd3.tar.bz2 Vencord-71a60a0359eda13221f2314c0b1c33c86f240fd3.zip |
Add .editorconfig; reformat project
Diffstat (limited to 'src/api/settings.ts')
-rw-r--r-- | src/api/settings.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/settings.ts b/src/api/settings.ts index e6d9273..4ee94d3 100644 --- a/src/api/settings.ts +++ b/src/api/settings.ts @@ -98,7 +98,7 @@ type ResolvePropDeep<T, P> = P extends "" ? T : * whenever Unindent is toggled. Pass an empty string to get notified for all changes * @param onUpdate Callback function whenever a setting matching path is updated. It gets passed the new value and the path * to the updated setting. This path will be the same as your path argument, unless it was an empty string. - * + * * @example addSettingsListener("", (newValue, path) => console.log(`${path} is now ${newValue}`)) * addSettingsListener("plugins.Unindent.enabled", v => console.log("Unindent is now", v ? "enabled" : "disabled")) */ |