How can I export & import in one line ? #7164
Unanswered
xb284524239
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You can write |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My code:
Is there a way to both
export
andimport
in one line of code? Just like this:export import { Basket, Param, Stage, ModalData } from "../model/basket.slint";
or
import export { Basket, Param, Stage, ModalData } from "../model/basket.slint";
Beta Was this translation helpful? Give feedback.
All reactions