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

declaration: true leads to compilation error due to duplicated identifier #93

Open
Vadorequest opened this issue Mar 27, 2015 · 0 comments

Comments

@Vadorequest
Copy link

If I set declaration: true in the config then it works fine only the first time, if I re-run grunt typescript I get:

>> WebContent/scripts/widget/Api.d.ts(1,15): error TS2300: Duplicate identifier 'Api'.
>> WebContent/scripts/widget/Api.ts(1,7): error TS2300: Duplicate identifier 'Api'.
Warning: Task "typescript:recursive" failed. Use --force to continue.

I don't clear the folder between regeneration and I don't want to since it's in the same folder as the source file.

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

1 participant