GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — problem with override and static fields in ts4.3 beta · Issue #43916 · microsoft/TypeScript

problem with override and static fields in ts4.3 beta #43916

New issue
Copy link
New issue
Copy link
Closed
Closed
problem with override and static fields in ts4.3 beta#43916
Copy link

Description

@jogibear9988
Jochen Kühner (jogibear9988)
opened on May 1, 2021
Issue body actions

Bug Report

If I do not add override on static, I get an error "This member must have an override...."

If I add it, I get the error "'static'modifier can not be used with override"

🔎 Search Terms

override static

🕗 Version & Regression Information

This is a new feature, so before override was not available

⏯ Playground Link

I've none

💻 Code

static readonly style = css`
    :host {
  .....

🙁 Actual behavior

see:

image

image

🙂 Expected behavior

should work after adding override

Activity

  1. jogibear9988 commented on May 1, 2021

    @jogibear9988
    Jochen Kühner (jogibear9988)
    on May 1, 2021
    Author
    More actions

    image

  2. whzx5byb commented on May 1, 2021

    @whzx5byb
    whzx5byb
    on May 1, 2021
    More actions

    It is fixed in the nightly version.

  3. Kingwl commented on May 1, 2021

    @Kingwl
    Wenlu Wang (Kingwl)
    on May 1, 2021
    Contributor
    More actions

    Fixed via #43569. Please try the typescript@next.

  4. jogibear9988 commented on May 2, 2021

    @jogibear9988
    Jochen Kühner (jogibear9988)
    on May 2, 2021
    Author
    More actions

    fixed
    thx

  5. Jochen Kühner (jogibear9988)
    closed this as completedon May 2, 2021
  6. microsoft
    locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.