1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

LibJS: Allow exporting any imported bindings

This commit is contained in:
davidot 2022-09-01 23:13:45 +02:00 committed by Linus Groh
parent 462c6df24b
commit faf1430ce4
3 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,7 @@
import * as namespace from "./default-and-star-export.mjs";
import { "*" as fromStar } from "./default-and-star-export.mjs";
export { namespace };
import { namespace as nm } from "./re-export-namespace-via-binding.mjs";
export const passed = nm === namespace && fromStar === namespace["*"];