Skip to content

Getter and setter accessors do not agree in visibility. #1

Open
@killerdbob

Description

@killerdbob

Hi, I was using your code, but show up some error

SvChat repository is using TypeScript 4.1:

"typescript": "~4.1.2"

Having different visibility for getter and setter is introduced in TypeScript 4.3:
microsoft/TypeScript#42425

Error: node_modules/@ndn/l3face/lib/l3face.d.ts:28:9 - error TS2379: Getter and setter accessors do not agree in visibility.

28 get state(): L3Face.State;
~~~~~

Error: node_modules/@ndn/l3face/lib/l3face.d.ts:29:17 - error TS2379: Getter and setter accessors do not agree in visibility.

29 private set state(value);
~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions