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

outFile corrupted after installing TypeScript 2.3.1.0 - AMD dependency used but undefined #15532

Closed
JMS-1 opened this issue May 2, 2017 · 1 comment

Comments

@JMS-1
Copy link

JMS-1 commented May 2, 2017

Environment: Visual Studio 2017 Professional 15.1 (26403.7)

Anything ok with 2.2.2. After installing 2.3.1 the bundle file (outFile / amd) is broken: some modules are used but not created as a dependency.

TypeScript Version: 2.3.1

Code
(see uploaded ASP.NET project)

Expected behavior:
(see bundle.js index2/index3: outer is twice in the dependency list)

Actual behavior:
(see bundle.js index1: outer_2 used but not in dependency list, outFile is broken!)

Only difference is the way props are used [actually a bit more complicated in the real app, but this was the tightest repro I found].

BadTypeScript.zip

@JMS-1
Copy link
Author

JMS-1 commented May 2, 2017

Sorry: seems to be a duplicate: #15469

@JMS-1 JMS-1 closed this as completed May 2, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant