I'm publishing a Typescript package, along with its Javascript compilation and a types.d.ts file.
My dev dependency for Typescript is at ^4.5.
"devDependencies": {
"typescript": "^4.5"
}
I had a user report a breakage in a recent update, as they are using Typescript 4.1, and my types started using a feature added in Typescript 4.4.
I don't think I can take a peerDependency, as use of Typescript is optional.
How can I register the minimum expected version of Typescript in my package?