aboutsummaryrefslogtreecommitdiff
path: root/src/globals.d.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-29 20:27:48 +0200
committerGitHub <noreply@github.com>2022-10-29 20:27:48 +0200
commit93859883c12cbc39e0142840b633fc288e9ecc75 (patch)
treec18ea313c410f53ae53488b4e27a71af105d902e /src/globals.d.ts
parent37105ac416545f1b26f885c3c6c7b98bdce9e2a6 (diff)
downloadVencord-93859883c12cbc39e0142840b633fc288e9ecc75.tar.gz
Vencord-93859883c12cbc39e0142840b633fc288e9ecc75.tar.bz2
Vencord-93859883c12cbc39e0142840b633fc288e9ecc75.zip
build: inject createElement alias (#176)
Diffstat (limited to 'src/globals.d.ts')
-rw-r--r--src/globals.d.ts9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index 49c3659..071bca2 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -16,7 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import React from "react";
declare global {
/**
@@ -49,12 +48,6 @@ declare global {
*/
export var DiscordNative: any;
- // jsFactory, here to make ts happy
- /** Shorter alias for React.createElement to reduce bundle size, don't use this. */
- export var _Ve$: typeof React["createElement"];
- /** Shorter alias for React.Fragment to reduce bundle size, don't use this. */
- export var _VF$: typeof React["Fragment"];
-
interface Window {
webpackChunkdiscord_app: {
push(chunk: any): any;
@@ -63,3 +56,5 @@ declare global {
[k: string]: any;
}
}
+
+export { };