Skip to content
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

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

Open
killerdbob opened this issue Jan 13, 2022 · 0 comments
Open

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

killerdbob opened this issue Jan 13, 2022 · 0 comments

Comments

@killerdbob
Copy link

killerdbob commented Jan 13, 2022

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);
~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant