Skip to content

Reordering files doesn't seem to work properly (--reorderFiles) #1

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

Closed
Janne252 opened this issue Nov 20, 2016 · 2 comments
Closed

Reordering files doesn't seem to work properly (--reorderFiles) #1

Janne252 opened this issue Nov 20, 2016 · 2 comments
Assignees

Comments

@Janne252
Copy link

Hey,

I'm having issues with this compiler as it doesn't seem work properly. The files are reordered a bit yet it still doesn't seem to work - I'm still getting the annoying TypeError: Cannot read property 'prototype' of undefined error.

The source code of my project can be found here: github.com/Janne252/jannengine

I'm using the following command to compile the project:
tsc-plus -p "tsconfig.json" --reorderFiles (Executed in the folder where the project's index.html is located)

The generated .js seems to have a somewhat proper order but not entirely. I've also tried
/// <reference path="..." /> directives. They seem to be properly defined but for whatever reason the default TypeScript compiler seems to ignore them.

Thank you for your work so far. I hope you can assist me with this.

@Janne252
Copy link
Author

Fixed, for reference please see microsoft/TypeScript#12395

@domchen
Copy link
Owner

domchen commented Dec 30, 2016

@Janne252 Sorry for taking so long to reply, I didn't notice the notifications from github. If you still have any problem of reordering files, feel free to let me know. :)

@domchen domchen self-assigned this Dec 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants