Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Remove file extensions while resolving dependencies. #222

Merged
merged 1 commit into from
Sep 6, 2016
Merged

Remove file extensions while resolving dependencies. #222

merged 1 commit into from
Sep 6, 2016

Conversation

jocelyn-stericker
Copy link
Contributor

As of microsoft/TypeScript#9646, TypeScript no longer expects extensions
in dependency resolution functions.

This should fix #221.

As of microsoft/TypeScript#9646, TypeScript no longer expects extensions
in dependency resolution functions.
@jocelyn-stericker
Copy link
Contributor Author

I'm not sure if this is the best way of fixing this -- having TypeScript try all possible extensions when we know the correct one seems hacky.

This change should not remove compatibility with TS 2.0.0, as TS 2.0.0 optionally accepted extensionless imports.

@s-panferov s-panferov merged commit c20cf54 into s-panferov:master Sep 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loader not working with typescript 2.0.2 (RC)
2 participants