Skip to content

Commit

Permalink
Remove lodash global
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerthox committed Aug 9, 2024
1 parent 921b363 commit 76e913f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
6 changes: 0 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { LoDashStatic } from "lodash";

import { BdApi } from "./bdapi";

export * from "./addonapi";
Expand All @@ -22,12 +20,8 @@ declare global {
/** BetterDiscord's global plugin API. */
const BdApi: BdApi;

const _: LoDashStatic;

interface Window {
/** BetterDiscord's global plugin API. */
BdApi: BdApi;

_: LoDashStatic;
}
}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"name": "betterdiscord-types",
"version": "1.9.6",
"version": "1.9.7",
"description": "Type definitions for BetterDiscord",
"author": "Zerthox",
"license": "MIT",
"scripts": {},
"dependencies": {
"@types/classnames": "^2.3.1",
"@types/lodash": "^4.14.182",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/react-reconciler": "^0.28.0"
"@types/react-reconciler": "^0.28.0",
"classnames": "^2.5.1"
},
"devDependencies": {
"prettier": "^3.0.3",
Expand Down

0 comments on commit 76e913f

Please # to comment.