Replies: 1 comment 2 replies
-
Yes! This is something that has come up before. Traditional frameworks would have this enabled in their tsconfig https://www.typescriptlang.org/tsconfig#allowSyntheticDefaultImports but newer frameworks are moving away from that pattern. We'll make an issue to make sure this is tracked properly but for now, you can enable that option and it should be okay |
Beta Was this translation helpful? Give feedback.
2 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.
-
can anybody share the complete empty project using dappwright?
In the readme file there are missing imports, no idea what "base" is in "example.spec.ts" file - what we are going to extend
after adding imports i'm getting information like
'TS1192: Module '"/Users/.../node_modules/@tenkeylabs/dappwright/dist/index"' has no default export.'
and this is why does not see "dappwright" import
import dappwright, {Dappwright, MetaMaskWallet} from "@tenkeylabs/dappwright";
I'm new regarding js/ts so please forgive me :)
Beta Was this translation helpful? Give feedback.
All reactions