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

Duplicate identifiers in github-electron-* definitions #5560

Closed
PatSmuk opened this issue Nov 7, 2015 · 2 comments
Closed

Duplicate identifiers in github-electron-* definitions #5560

PatSmuk opened this issue Nov 7, 2015 · 2 comments
Labels
External Relates to another program, environment, or user action which we cannot control.

Comments

@PatSmuk
Copy link

PatSmuk commented Nov 7, 2015

I just got bit by the same issue mentioned here.

I'm using DefinitelyTyped with the github-electron* definitions, and github-electron-main.d.ts and github-electron-renderer.d.ts both declare an ipc module and export something, causing the errors:

typings/github-electron/github-electron-main.d.ts(229,2): error TS2300: Duplicate identifier 'export='.
typings/github-electron/github-electron-renderer.d.ts(99,2): error TS2300: Duplicate identifier 'export='.

Is there a way to prevent tsc from loading these definitions, so I can just /// <reference /> it in the proper source files?

@PatSmuk
Copy link
Author

PatSmuk commented Nov 7, 2015

Should be fixed with DefinitelyTyped/DefinitelyTyped#6663

@mhegazy
Copy link
Contributor

mhegazy commented Nov 7, 2015

Thanks @Patman64 for the update. looks a DT issue then.

@mhegazy mhegazy closed this as completed Nov 7, 2015
@mhegazy mhegazy added the External Relates to another program, environment, or user action which we cannot control. label Nov 7, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
External Relates to another program, environment, or user action which we cannot control.
Projects
None yet
Development

No branches or pull requests

2 participants