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 | |
parent | 5f62d2d3ec2cfbb39b0663e96b82746384ef1b89 (diff) | |
download | Vencord-71a60a0359eda13221f2314c0b1c33c86f240fd3.tar.gz Vencord-71a60a0359eda13221f2314c0b1c33c86f240fd3.tar.bz2 Vencord-71a60a0359eda13221f2314c0b1c33c86f240fd3.zip |
Add .editorconfig; reformat project
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/MessageEvents.ts | 2 | ||||
-rw-r--r-- | src/api/index.ts | 2 | ||||
-rw-r--r-- | src/api/settings.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/api/MessageEvents.ts b/src/api/MessageEvents.ts index b6230b2..534012f 100644 --- a/src/api/MessageEvents.ts +++ b/src/api/MessageEvents.ts @@ -82,4 +82,4 @@ export function addClickListener(listener: ClickListener) { export function removeClickListener(listener: ClickListener) { return listeners.delete(listener); -}
\ No newline at end of file +} diff --git a/src/api/index.ts b/src/api/index.ts index 6172418..0633ee8 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -1 +1 @@ -export * as MessageEvents from "./MessageEvents";
\ No newline at end of file +export * as MessageEvents from "./MessageEvents"; 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")) */ |