Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use lowercase names for type reference directives #10340

Merged
1 commit merged into from Aug 17, 2016
Merged

Conversation

ghost
Copy link

@ghost ghost commented Aug 15, 2016

Fixes #9824

Note: since we don't try un-lowercasing names on failure, this would break any code that intentionally used an uppercased name for a type reference, although that's not too likely since @types is the default and anything installed by npm will be lowercase.

@sandersn
Copy link
Member

The code gets a 👍 from me, although I don't know enough about the feature so know whether this is a good idea. So maybe somebody else should review as well.

@mhegazy
Copy link
Contributor

mhegazy commented Aug 16, 2016

Can you please add a comment on why the use of lowercase is OK here. It will probably look strange for the next person touching this code base.

@mhegazy
Copy link
Contributor

mhegazy commented Aug 16, 2016

👍

@ghost ghost merged commit ef4fefc into master Aug 17, 2016
@ghost ghost deleted the lower_case_types branch August 17, 2016 13:04
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This pull request was closed.
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.

None yet

3 participants