-
Notifications
You must be signed in to change notification settings - Fork 213
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
plenty of Duplicate identifier errors due to typings/browser.d.ts reference in vg-player.d.ts #109
Comments
I'm not seeing those errors in my example project. This is my https://github.com/videogular/videogular2/blob/master/examples/src/tsconfig.json |
thanks for quick response. Btw when I merge your
and when I use exactly the same tsconfig.json as you do, I get the I actually use Ionic beta via |
Hello @petervojtek, Do you found a solution since the message was posted because I have the same issue and I'm not able to find a proper way to compile. Thanks |
hi @Fluccioni , so far the only solution i found is the one described in my first comment, and this is to remove first line from
|
Please, update to latest version and check if this problems still exists. |
Description
The issue is, I have typings located in
my_angular_project/typings/
(including browser.d.ts)However
vg-player.d.ts
has on the first line following reference:and actually keeps its own
browser.d.ts
inI guess this means browser.d.ts is loaded twice during ts->js transpilation, which leads to plenty of errors like:
When I remove the first line (
reference path
) from `vg-player.d.ts, I can get rid of the errors.I guess this could be somehow fixed by proper configuration of
tsconfig.json
, but I did not managed to achieve it. Here is my tsconfig.json:The text was updated successfully, but these errors were encountered: