mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: more annotation for util functions
This commit is contained in:
1 parent
1ae9503477
commit
39e818283d
5 files changed
+64
-27
No files matched your search
@@ -5,7 +5,7 @@ const cookies = require(path.resolve('./cookies.json'));
|
||||
|
||||
try {
|
||||
const cookieString = cookies
|
||||
.map(({ name, value }) => {
|
||||
.map(({ name, value }: { name: string; value: string }) => {
|
||||
return `${name}=${value}`;
|
||||
})
|
||||
.join('; ');
|
||||
|
||||
Reference in new issue
Block a user