From cc424d5c2df5d68579440ed6b520df663a217a9d Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Mon, 5 Aug 2024 14:26:06 -0600 Subject: [PATCH] remove void0 assignment --- src/beta.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/beta.ts b/src/beta.ts index 6cb01ed836..9d068328d4 100644 --- a/src/beta.ts +++ b/src/beta.ts @@ -7,12 +7,11 @@ export * from './index'; * * Since we don't bundle tslib helpers, we need to polyfill this method. * - * This is used in the generated JS. + * This is used in the generated JS. Adapted from https://github.com/microsoft/TypeScript/blob/aafdfe5b3f76f5c41abeec412ce73c86da94c75f/src/compiler/factory/emitHelpers.ts#L1202. */ // eslint-disable-next-line @typescript-eslint/no-unused-vars function __exportStar(mod: Document) { for (const key of Object.keys(mod)) { - exports[key] = void 0; Object.defineProperty(exports, key, { enumerable: true, get: function () {