spatie/typescript-transformer

Configure fallbackvalues other then any

Closed this issue · 1 comments

puggan commented

It would be nice to be able to configure the fallback values for unknown symbols and mixed.

Currently unknown symbols/classes is always converted to any.

I'd love to be able to configure that value to be either unknown or maybe even {[key: string]: unknown} as we know it's a class/object.

We'll handle this in #59