summaryrefslogtreecommitdiff
path: root/src/utils/genCmdURL.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-06-27 22:52:54 -0700
committer8cy <[email protected]>2020-06-27 22:52:54 -0700
commit80951013e391aab140800e4f386867e6c391553f (patch)
tree3d7101237ef1cd8d6fe2a2fab751a2dc55ae7d84 /src/utils/genCmdURL.ts
parentmore config shit (diff)
downloaddep-core-80951013e391aab140800e4f386867e6c391553f.tar.xz
dep-core-80951013e391aab140800e4f386867e6c391553f.zip
add ts defs so not a lot of errors left
- made .todo file for epic error tracking
Diffstat (limited to 'src/utils/genCmdURL.ts')
-rw-r--r--src/utils/genCmdURL.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/genCmdURL.ts b/src/utils/genCmdURL.ts
index 4d658bc..0519de0 100644
--- a/src/utils/genCmdURL.ts
+++ b/src/utils/genCmdURL.ts
@@ -1 +1 @@
-module.exports = cmd => `/commands/${cmd.group.name.toLowerCase().replace(/\s/g, "-")}/${cmd.name}`; \ No newline at end of file
+module.exports = (cmd: { group: { name: string; }; name: any; }) => `/commands/${cmd.group.name.toLowerCase().replace(/\s/g, "-")}/${cmd.name}`; \ No newline at end of file