Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Check if imported file is a proper external module for imported node typings#4738

Merged
vladima merged 4 commits into
mastermicrosoft/TypeScript:masterfrom
properExternalModulesmicrosoft/TypeScript:properExternalModulesCopy head branch name to clipboard
Sep 11, 2015
Merged

Check if imported file is a proper external module for imported node typings#4738
vladima merged 4 commits into
mastermicrosoft/TypeScript:masterfrom
properExternalModulesmicrosoft/TypeScript:properExternalModulesCopy head branch name to clipboard

Conversation

@vladima

@vladima vladima commented Sep 10, 2015

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/compiler/types.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this should be declarative. i.e. the name tells you what it is rather than telling you how it should be have. so something like
isExternalLibrary, or isExternalLibraryImport

@mhegazy

mhegazy commented Sep 10, 2015

Copy link
Copy Markdown
Contributor

also looks like you have build error.

@mhegazy

mhegazy commented Sep 11, 2015

Copy link
Copy Markdown
Contributor

👍

vladima added a commit that referenced this pull request Sep 11, 2015
Check if imported file is a proper external module for imported node typings
@vladima vladima merged commit 026632b into master Sep 11, 2015
@vladima vladima deleted the properExternalModules branch September 11, 2015 17:20
@vladima

vladima commented Sep 12, 2015

Copy link
Copy Markdown
Contributor Author

pinging @basarat and @jbrantly: FYI, this PR has changed the signature of CompilerHost.resolveModuleNames to return ResolvedModule instead of string

@jbrantly

Copy link
Copy Markdown

Thanks for the heads up

@mhegazy mhegazy added the Breaking Change Would introduce errors in existing code label Sep 12, 2015
@mhegazy mhegazy added this to the TypeScript 1.6.2 milestone Sep 12, 2015
@mhegazy

mhegazy commented Sep 12, 2015

Copy link
Copy Markdown
Contributor

@vladima can you comment this issue in the API breaking changes page

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this would be a good case of having the "Please contact the package author to update the package definition." message.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair point, will update the message. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Breaking Change Would introduce errors in existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.