question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug

Typescript just released a new version: 4.3.2 4.3.5

Did you try recovering your dependencies?

N/A

Which terms did you search for in User Guide?

None (was just released June 30th)

Environment

(gitpod since I only have access to an online terminal)

Environment Info:

  current version of create-react-app: 4.0.3
  running from /home/gitpod/.nvm/versions/node/v14.17.0/lib/node_modules/create-react-app

  System:
    OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (16) x64 Intel(R) Xeon(R) CPU
  Binaries:
    Node: 14.17.0 - ~/.nvm/versions/node/v14.17.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v14.17.0/bin/yarn
    npm: 7.14.0 - ~/.nvm/versions/node/v14.17.0/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    react: ^17.0.2 => 17.0.2 
    react-dom: ^17.0.2 => 17.0.2 
    react-scripts: 4.0.3 => 4.0.3 
  npmGlobalPackages:
    create-react-app: 4.0.3

Steps to reproduce

(Write your steps here:)

  1. Create a new typescript app
  2. Use the override keyword (see typescript’s release notes or the repro below)
  3. Doesn’t compile

Expected behavior

Now that I know the new version was just released, this is normal

Actual behavior

Discovered with: https://github.com/icecream17/solver/runs/2686100874?check_suite_focus=true

Reproducible demo

I don’t feel like making a demo so here’s more detailed instructions

npx create-react-app example
cd example
npm install --save-prod typescript@4.3.2
// Then change App.tsx
class A {
  b(){}
}

class B extends A {
  override b () {}
}
npm test

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
Gilwecommented, Jun 24, 2021

@mrmckeb Question, when is the next minor version planned to be released?

0reactions
iansucommented, Aug 11, 2021

We’ve released the first alpha of Create React App v5 which should support TypeScript 4.3. If you have any problems please open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

4.3.5 - typescript - npm
TypeScript is a language for application scale JavaScript development. Latest version: 4.9.4, last published: 19 days ago.
Read more >
Documentation - TypeScript 4.3
TypeScript 4.3. Separate Write Types on Properties. In JavaScript, it's pretty common for APIs to convert values that are passed ...
Read more >
TypeScript 4.3.5 for Visual Studio
This is a standalone, power tool release of TypeScript 4.3.5 for Visual Studio. It includes both the TypeScript experience for Visual Studio ...
Read more >
typescript 4.3.5 vulnerabilities - Snyk
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides ...
Read more >
TypeScript 4.3.5 Milestone - GitHub
TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - TypeScript 4.3.5 Milestone · microsoft/TypeScript.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found