aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-09-16 22:59:34 +0200
committerVendicated <vendicated@riseup.net>2022-09-16 22:59:34 +0200
commit71a60a0359eda13221f2314c0b1c33c86f240fd3 (patch)
treecbf6048c91034ac77ac61494cf0975fd0d229e0e /src/api
parent5f62d2d3ec2cfbb39b0663e96b82746384ef1b89 (diff)
downloadVencord-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.ts2
-rw-r--r--src/api/index.ts2
-rw-r--r--src/api/settings.ts2
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"))
*/