Skip to content

Commit cc424d5

Browse files
remove void0 assignment
1 parent a68bb87 commit cc424d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/beta.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ export * from './index';
77
*
88
* Since we don't bundle tslib helpers, we need to polyfill this method.
99
*
10-
* This is used in the generated JS.
10+
* This is used in the generated JS. Adapted from https://github.com/microsoft/TypeScript/blob/aafdfe5b3f76f5c41abeec412ce73c86da94c75f/src/compiler/factory/emitHelpers.ts#L1202.
1111
*/
1212
// eslint-disable-next-line @typescript-eslint/no-unused-vars
1313
function __exportStar(mod: Document) {
1414
for (const key of Object.keys(mod)) {
15-
exports[key] = void 0;
1615
Object.defineProperty(exports, key, {
1716
enumerable: true,
1817
get: function () {

0 commit comments

Comments
 (0)