Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(codegen): match lib and target declarations (#678)
`lib` declarations targeting standards newer than the `target` are useful when one polyfills missing features. `lib` declarations targeting _older_ standards are constraining in a strange way: we emit code relying on newer features, but types prevent us from using them Since were are already emitting `es2018` code, we can target that standard for the types as well. This is a spin-off of @eduardomourar's #667 Co-authored-by: Eduardo Rodrigues <eduardomourar@users.noreply.github.com>
- Loading branch information