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

Cannot redeclare block-scoped variable 'Symbol' #34

Closed
Sinewyk opened this issue Dec 12, 2017 · 0 comments
Closed

Cannot redeclare block-scoped variable 'Symbol' #34

Sinewyk opened this issue Dec 12, 2017 · 0 comments

Comments

@Sinewyk
Copy link

Sinewyk commented Dec 12, 2017

If using @types/node and this package we have problems since #29:

node_modules/@types/node/index.d.ts(67,13): error TS2451: Cannot redeclare block-scoped variable 'Symbol'.
node_modules/symbol-observable/index.d.ts(9,16): error TS2451: Cannot redeclare block-scoped variable 'Symbol'.

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/222185d8afbcf4dbc727e276af8aeb7ef3543321/types/node/index.d.ts#L80 and

export const Symbol: SymbolConstructor;
have issues 😢

siassaj added a commit to siassaj/xstream that referenced this issue Dec 12, 2017
Next version up is 1.1.0 which causes tsc to fail compilation with
error TS2451: Cannot redeclare block-scoped variable 'Symbol'.

Appears to be related to benlesh/symbol-observable#34
siassaj added a commit to siassaj/xstream that referenced this issue Dec 12, 2017
Next version up is 1.1.0 which causes tsc to fail compilation with
error TS2451: Cannot redeclare block-scoped variable 'Symbol'.

Appears to be related to benlesh/symbol-observable#34
staltz pushed a commit to staltz/xstream that referenced this issue Dec 12, 2017
PR #234

Next version up is 1.1.0 which causes tsc to fail compilation with
error TS2451: Cannot redeclare block-scoped variable 'Symbol'.

Appears to be related to benlesh/symbol-observable#34
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