Skip to content

Bug Report: Dynamic property method calls in @noSelf classes incorrectly use colon syntax (:) instead of dot syntax (.) #1647

@XiYang6666

Description

@XiYang6666
/** @noSelf **/
declare class testClass {
  static [key: string]: () => void;
  static testFunction(): void;
}


testClass.testFunction();
testClass.testKey();
testClass.testFunction()
testClass:testKey() -- Incorrect

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions