ftrackhq / ftrack-ts-schema-generator

Gets the schema from an ftrack instance and generates typescript interfaces for all the entity types in the instance.
Apache License 2.0
2 stars 1 forks source link

bug: EntityTypeMap exposes undefined types #14

Closed ffMathy closed 1 year ago

ffMathy commented 1 year ago

In EntityTypeMap, I have (not surprisingly) a lot of properties mapping to a lot of types.

But two of my types cannot be found by TypeScript.

export interface EntityTypeMap {
    Message: Message; //Cannot find name 'Message'
    Participant: Participant; //Cannot find name 'Participant'
}

I had to apply #13 to even get my types to generate. Perhaps this creates some side-effect?

gismya commented 1 year ago

Closing for the same reason as #13