[x] Bug report -> please search issues before submitting
[ ] Feature request
[ ] Documentation issue or request
Current behavior
An accessor cannot be declared in an ambient context:
get left() in countdown-component.
Expected behavior
Executes without problem
Environment
TS 3.7
Angular version: 8
ngx-countdown version: 8
Browser:
- [x] Chrome (desktop) version 80.0.3987.163
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
Others:
Seems to be due to https://github.com/microsoft/TypeScript/issues/33939
Removing the "get" fixes the issue.
Bug Report or Feature Request (mark with an
x
)Current behavior
An accessor cannot be declared in an ambient context: get left() in countdown-component.
Expected behavior
Executes without problem
Environment
TS 3.7