pydantic-to-typescript icon indicating copy to clipboard operation
pydantic-to-typescript copied to clipboard

Fix generation for empty list of models

Open sebastian-philipp opened this issue 2 years ago • 0 comments

Turns out, if the list of models is empty, a line

export interface Master {}

is generated

Yes, I know this is an edge case, but having this simplifies the handling of projects with many (potentially empty) modules.

sebastian-philipp avatar Jan 10 '23 15:01 sebastian-philipp