Got a file where an object is exported:
let btypes:{[key:string]:any} = {
"key1":val,
//...
}
export {btypes}
I also tried export default btypes
When I import it with:
import {btypes} from "../types";
The terminal outputs:
src/tests/parse.test.ts:3:8 - error TS1192: Module '"/abc/types"' has no default export.
Or
src/tests/parse.test.ts:3:9 - error TS2305: Module '"../types"' has no exported member 'btypes'.
Any idea what to look for here?