aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/IpcEvents.ts2
-rw-r--r--src/utils/constants.ts2
-rw-r--r--src/utils/debounce.ts2
-rw-r--r--src/utils/logger.ts2
-rw-r--r--src/utils/misc.tsx2
-rw-r--r--src/utils/modal.tsx2
-rw-r--r--src/utils/types.ts2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/utils/IpcEvents.ts b/src/utils/IpcEvents.ts
index 70ba502..6061fcb 100644
--- a/src/utils/IpcEvents.ts
+++ b/src/utils/IpcEvents.ts
@@ -19,4 +19,4 @@ export default strEnum({
SET_SETTINGS: "VencordSetSettings",
OPEN_EXTERNAL: "VencordOpenExternal",
OPEN_PATH: "VencordOpenPath",
-} as const); \ No newline at end of file
+} as const);
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index 92f78f5..3d60e29 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -1,2 +1,2 @@
export const WEBPACK_CHUNK = "webpackChunkdiscord_app";
-export const REACT_GLOBAL = "Vencord.Webpack.Common.React"; \ No newline at end of file
+export const REACT_GLOBAL = "Vencord.Webpack.Common.React";
diff --git a/src/utils/debounce.ts b/src/utils/debounce.ts
index 6a1756b..f001b7b 100644
--- a/src/utils/debounce.ts
+++ b/src/utils/debounce.ts
@@ -4,4 +4,4 @@ export function debounce<T extends Function>(func: T, delay = 300): T {
clearTimeout(timeout);
timeout = setTimeout(() => { func(...args); }, delay);
} as any;
-} \ No newline at end of file
+}
diff --git a/src/utils/logger.ts b/src/utils/logger.ts
index be32f2b..0dda4bb 100644
--- a/src/utils/logger.ts
+++ b/src/utils/logger.ts
@@ -30,4 +30,4 @@ export default class Logger {
public debug(...args: any[]) {
this._log("debug", "#eebebe", args);
}
-} \ No newline at end of file
+}
diff --git a/src/utils/misc.tsx b/src/utils/misc.tsx
index 9d4c001..8a9afe1 100644
--- a/src/utils/misc.tsx
+++ b/src/utils/misc.tsx
@@ -53,7 +53,7 @@ export function LazyComponent<T = any>(factory: () => React.ComponentType<T>) {
}
/**
- * Recursively merges defaults into an object and returns the same object
+ * Recursively merges defaults into an object and returns the same object
* @param obj Object
* @param defaults Defaults
* @returns obj
diff --git a/src/utils/modal.tsx b/src/utils/modal.tsx
index 63821f3..e5723a8 100644
--- a/src/utils/modal.tsx
+++ b/src/utils/modal.tsx
@@ -31,4 +31,4 @@ export function openModal(Component: React.ComponentType, modalProps: Record<str
*/
export function closeModal(key: string) {
modals.closeModal(key);
-} \ No newline at end of file
+}
diff --git a/src/utils/types.ts b/src/utils/types.ts
index 810869c..f7936a4 100644
--- a/src/utils/types.ts
+++ b/src/utils/types.ts
@@ -28,4 +28,4 @@ interface PluginDef {
patches?: Omit<Patch, "plugin">[];
dependencies?: string[],
required?: boolean;
-} \ No newline at end of file
+}