TS2306
intosKai opened this issue · comments
Peter commented
When I'm trying import module in typescript file like in example
import Sotez, { utility, forge, crypto, ledger } from 'sotez';
I have a error:
TS2306: .../node_modules/sotez/dist/types/index.d.ts is not a module
How can I fix this or it's wrong from your side?
Andrew Kishino commented
@intosKai I have pushed a new version 0.5.1 which should correctly import type definitions.