ember-polyfills / ember-cached-decorator-polyfill

Polyfill for RFC 566: @cached
MIT License
20 stars 6 forks source link

convert babel plugin to typescript #181

Closed ef4 closed 1 year ago

ef4 commented 1 year ago

In preparation for adding some features to the plugin, this converts it to typescript.

It gets a separate tsconfig from the one that builds the dummy app, because we want to emit it as a commonJS file.

It still gets type-checked during the main tsconfig too, so it doesn't need a separate step in CI for that.

ef4 commented 1 year ago

(I never again want to work on a babel plugin without typescript. World of difference.)