nonara / ts-patch

Augment the TypeScript compiler to support extended functionality
MIT License
760 stars 26 forks source link

[Bug] Plugins returning TransformerBasePlugin not supported #113

Closed nonara closed 1 year ago

nonara commented 1 year ago

ttypescript and earlier tsp supported entry points which returned an object type (see TransformerBasePlugin).

Legacy ttypescript code was labeled improperly and this potential was overlooked after adding wrapper functionality.

This has been corrected, and better error messaging for a bad entry point has been added.

Issue discovered in report: