Skip to content

Commit

Permalink
Merge pull request #179 from guybedford/patch-4
Browse files Browse the repository at this point in the history
fix: default interop compat for "module" condition
  • Loading branch information
andrewbranch authored May 1, 2023
2 parents a100d7b + 033b363 commit 4e79d03
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ export {
__classPrivateFieldSet,
__classPrivateFieldIn,
};
export default tslib;
28 changes: 28 additions & 0 deletions tslib.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,31 @@ export function __classPrivateFieldIn(state, receiver) {
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
return typeof state === "function" ? receiver === state : state.has(receiver);
}

export default {
__extends,
__assign,
__rest,
__decorate,
__param,
__metadata,
__awaiter,
__generator,
__createBinding,
__exportStar,
__values,
__read,
__spread,
__spreadArrays,
__spreadArray,
__await,
__asyncGenerator,
__asyncDelegator,
__asyncValues,
__makeTemplateObject,
__importStar,
__importDefault,
__classPrivateFieldGet,
__classPrivateFieldSet,
__classPrivateFieldIn,
};

0 comments on commit 4e79d03

Please sign in to comment.