mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 17:02:56 +00:00
LibJS: Allow exporting any imported bindings
This commit is contained in:
parent
462c6df24b
commit
faf1430ce4
Notes:
sideshowbarker
2024-07-17 23:00:03 +09:00
Author: https://github.com/davidot
Commit: faf1430ce4
Pull-request: https://github.com/SerenityOS/serenity/pull/15100
Reviewed-by: https://github.com/linusg
3 changed files with 19 additions and 1 deletions
|
@ -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["*"];
|
Loading…
Add table
Add a link
Reference in a new issue