ljharb / es-abstract

ECMAScript spec abstract operations.
MIT License
114 stars 30 forks source link

TypeScript support #110

Closed longlho closed 4 years ago

longlho commented 4 years ago

Any particular reason why this repo doesn't provide type definition natively?

ljharb commented 4 years ago

Because it's not authored in TypeScript. It's a very bad idea for non-TS packages to ship first-class types, because there's no practical way to ensure that the definitions don't deviate from the actual thing that matters, the JS implementation.

Please feel free to PR any type improvements into DefinitelyTyped; I'll be tagged as a reviewer there.