Skip to content

Commit

Permalink
remove void0 assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Aug 5, 2024
1 parent a68bb87 commit cc424d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit cc424d5

Please sign in to comment.