From 2bd2eea7b96570c1c151d2cf669a139fd6d0fab8 Mon Sep 17 00:00:00 2001 From: George Fu Date: Tue, 9 Jan 2024 11:29:03 -0500 Subject: [PATCH] chore(types): remove unused un-exported types (#5653) --- packages/types/package.json | 9 ++------- packages/types/src/blob/runtime-blob-types.browser.ts | 6 ------ packages/types/src/blob/runtime-blob-types.node.ts | 8 -------- 3 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 packages/types/src/blob/runtime-blob-types.browser.ts delete mode 100644 packages/types/src/blob/runtime-blob-types.node.ts diff --git a/packages/types/package.json b/packages/types/package.json index 63692ac46882..03fb983d5a46 100755 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -51,11 +51,6 @@ "rimraf": "3.0.2", "typescript": "~4.9.5" }, - "browser": { - "./dist-es/blob/runtime-blob-types.node": "./dist-es/blob/runtime-blob-types.browser" - }, - "react-native": { - "./dist-es/blob/runtime-blob-types.node": "./dist-es/blob/runtime-blob-types.browser", - "./dist-cjs/blob/runtime-blob-types.node": "./dist-cjs/blob/runtime-blob-types.browser" - } + "browser": {}, + "react-native": {} } diff --git a/packages/types/src/blob/runtime-blob-types.browser.ts b/packages/types/src/blob/runtime-blob-types.browser.ts deleted file mode 100644 index 55816b4ed432..000000000000 --- a/packages/types/src/blob/runtime-blob-types.browser.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * @public - * - * Additional blob types for the browser environment. - */ -export type RuntimeBlobTypes = Blob | ReadableStream; diff --git a/packages/types/src/blob/runtime-blob-types.node.ts b/packages/types/src/blob/runtime-blob-types.node.ts deleted file mode 100644 index c62db74a7d11..000000000000 --- a/packages/types/src/blob/runtime-blob-types.node.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Readable } from "stream"; - -/** - * @public - * - * Additional blob types for the Node.js environment. - */ -export type RuntimeBlobTypes = Readable | Buffer;