Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add typesVersion for resolving all types using legacy moduleResolution
When TS is set up to not use a `moduleResolution` of `node16` or `bundler` yet (like legacy `node`/`node10`), then TS would not look into `exports`. There is `types`, but that only works when resolving the main index module, like `import from 'ember-cli-page-object'`, but all other submodules like `ember-cli-page-object/adapter` would fail to resolve to `types.d.ts`. This is removing `types` in favor of `typesVersions`, supporting the same wildcard-matching that `exports` does.
- Loading branch information