Skip to content

Error due to inconsistent code between Typescript nightly 4.2.0-dev.20210106 and @types/[email protected] #42229

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
Luxcium opened this issue Jan 6, 2021 · 3 comments
Labels
External Relates to another program, environment, or user action which we cannot control.

Comments

@Luxcium
Copy link

Luxcium commented Jan 6, 2021

Bug Report

πŸ•— Version & Regression Information

Version 4.2.0-dev.20210106 and Version 4.2.0-dev.20210105

⏯ Playground Link

πŸ‘¨β€πŸ’» actual tsconfig.json

Link with relevant actual tsconfig.json

πŸ’» Code

πŸ™

code --install-extension ms-vscode.vscode-typescript-next
fnm default 15
fnm use default
yarn add -D typescript@next @types/[email protected]
npm -g i typescript@next
yarn global add typescript@next
npm install -g npm@7
yarn global add yarn@latest
yarn global add npm@7
tsc --version
node --version
npm --version
tsc

πŸ™‚

code --uninstall-extension ms-vscode.vscode-typescript-next
fnm default 14
fnm use 14
yarn add typescript@latest @types/[email protected]
npm -g i typescript@latest
yarn global add typescript@latest
npm install -g npm@latest
yarn global add yarn@latest
yarn global add npm@latest
tsc --version
node --version
npm --version
tsc

πŸ™ Actual behavior

when using tsc --version; node --version
tsc: Version 4.2.0-dev.20210106
node: v14.15.4

Screenshot_20210106_095257

when using tsc --version; node --version
tsc: Version 4.2.0-dev.20210106
node: v15.5.1

Screenshot_20210106_095904

πŸ™‚ Expected behavior

on the left Expected behavior on the right Actual behavior:

Screenshot_misc_backup_temporary-removed_scripts_ts-next sh - questrade-ts_20210106_103027

@Luxcium
Copy link
Author

Luxcium commented Jan 6, 2021

the breadcrumbs on top show the location in my system
Screenshot_20210106_091301

@Luxcium
Copy link
Author

Luxcium commented Jan 6, 2021

This one is line 30 in the related clone of the Definitelytyped node package... I sent them a PR [#50431] about this issue [#42229]
Screenshot_20210106_091137

@andrewbranch
Copy link
Member

The lib changes were reverted in #42230; DefinitelyTyped CI is clean today. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External Relates to another program, environment, or user action which we cannot control.
Projects
None yet
Development

No branches or pull requests

3 participants