From 2a06818d92ec56f35641e012c82bee1c5701e173 Mon Sep 17 00:00:00 2001 From: David Reed Date: Tue, 13 Jun 2023 16:27:17 -0400 Subject: [PATCH] export client types --- client.d.ts | 3 +++ package.json | 2 +- src/global.d.ts | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 client.d.ts delete mode 100644 src/global.d.ts diff --git a/client.d.ts b/client.d.ts new file mode 100644 index 0000000..c88093f --- /dev/null +++ b/client.d.ts @@ -0,0 +1,3 @@ +declare const Ultraviolet: typeof import('./uv').Ultraviolet; + +declare var __uv$config: import('./uv').UVConfig; diff --git a/package.json b/package.json index 29e4d3b..a0ddaf7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "files": [ "dist", "lib", - "uv.d.ts" + "client.d.ts" ], "type": "module", "scripts": { diff --git a/src/global.d.ts b/src/global.d.ts deleted file mode 100644 index b7603b1..0000000 --- a/src/global.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare const __uv$config: import('../uv').UVConfig;