ryersondmp / sa11y

Sa11y is an accessibility quality assurance tool that visually highlights common accessibility and usability issues. Geared towards content authors, Sa11y straightforwardly identifies errors or warnings at the source with a simple tooltip on how to fix them.
https://sa11y.netlify.app
Other
281 stars 44 forks source link

Extend type declarations & Sa11yCustomChecks class #35

Closed smncd closed 2 years ago

smncd commented 2 years ago

Extend Sa11y type declarations to include methods and properties and make Custom Checks work in Typescript (more context on the latter given here: #34 )

Changes:

adamchaboryk commented 2 years ago

@smncd, can you please take a look at line 37. sa11y; is causing a parsing error which breaks linting.

smncd commented 2 years ago

@adamchaboryk, ah I see, it appears the linter is not happy with sa11y; being there. It's not necessary to have it typed out like I did either, I've gone ahead and corrected it and another lint error I got in #36.