If you define what you want in typescript by updating existing typescript wordage, you get what you want exactly as specified, with minimal token cost and no ip theft.

I mean then it might be difficult to get stakeholder's alignment on specs written in typescript though.