#experimentalDecorators problem
1 messages · Page 1 of 1 (latest)
can you share the code on how you are exporting Coordinates? (filename/location included)
if you change the code to import type { Coordinates } from '@models/types; does it work? I'm pretty sure there's a bug in bun with decorator metadata and type imports
like i have a custom decorator on tsconfig to @models be src/models
Any tip to fix?
Bump 🆙
BUMP ☝️
We'd need to see the src/models/types/index.ts
Did you actually export the Coordinates
Is src/models supposed to be relative?
export * from './coordinates.type';
like, with node this work perfect
with bun he show this problem
What's in coordinates.type?
export interface Coordinates {
lat: number;
lng: number;
}