Dependencies between Components

Hi

I try to have multiple components in multiple files that have dependencies:

A.ts:

export const A = esc.registerComponent{name: "A"...

B.ts

import {A} from '.a.ts'
export const B = esc.registerComponent{name: "B: ...

    ... some code
    if (A.has(someEid)) {
    ....
    }

But as soon a I export something from A.ts or B.ts I get an error message that the component cannot be found? (event withou any import in the other file) β€œError: No attribute registered with name: A” And it does not matter if I do a default export or a named export.

How am I supposed to access components between files in the new Studio?

import {A} from './a' should work provided the two files are in the same folder.

No attribute registered with name: A seems like it’s coming from somewhere else that’s using the ecs.getAttribute function.