question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Type Definition missing 'version' - error TS2339: Property 'version' does not exist on type 'typeof axe'

See original GitHub issue

Expectation: axe.version doesn’t result in type error

Actual: Accessing version with axe.version results in error TS2339: Property 'version' does not exist on type 'typeof axe'

Motivation: Type definition should match runtime behavior where axe.version works directly in browser console or in code after suppressing the error


axe-core version: 3.5.5
axe-webdriver, extension or other integration version: NA

Browser and Assistive Technology versions

For Tooling issues:
- Node version: v12.18.2
- Platform:  Mac

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
strakercommented, Jul 22, 2020
1reaction
strakercommented, Jul 14, 2020

Thanks for letting us know. I’ll make sure to address this when i fix #2317

Read more comments on GitHub >

github_iconTop Results From Across the Web

error TS2339: Property 'x' does not exist on type 'Y'
The correct fix is to add the property in the type definition as ... I'm no expert in Typescript, but I think the...
Read more >
TypeScript “Property does not exist on type” | by Mike Diaz
Before we go any further, note that this error has an ID number (TS2339). Take note of that since it makes it easier...
Read more >
Typescript Type System: How Does it Really Work? Type ...
Let's have a look at the error message we get: Error:(54, 6) TS2339:Property 'name' does not exist on type '{}'. So what is...
Read more >
webdriverio/webdriverio - Gitter
Error : ⨯ Unable to compile TypeScript: src/tests/login.spec.ts(10,31): error TS2339: Property 'toExist' does not exist on type 'Matchers<Element>'.
Read more >
Using TypeScript or ES6 – amCharts 4 Documentation
You'll appreciate the code-completion and type-check built right into core of amCharts 4. ... Using any older version will result in error.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found