Closed gombosg closed 4 years ago
I'm not able to reproduce that error using the config you provided and this code:
import reactAxe from 'react-axe';
import React from 'react';
import ReactDOM from 'react-dom';
reactAxe(React, ReactDOM, 1000, {}, {});
Can you show me what your code looks like that triggers that error?
Thanks for the reply!
OK, updated, to 3.5.2 in the meantime from 3.5.0. Now it's a different error:
Expected 5 arguments, but got 3. TS2554
27 | import("react-axe")
28 | .then(module => module.default)
> 29 | .then(axe => axe(React, ReactDOM, 1000));
| ^
30 | }
31 | }
32 |
After adding {}, {}
to the axe
arguments, it builds. But, still:
I think it's a bug... but as I look at master
it'll be fixed in the next release anyway. :slightly_smiling_face:
Yep, we have a fix in place thanks to another user and will release a 3.5.3 soon. Sorry for all the problems everyone.
Thanks!... absolutely no problem, it's OSS, thanks for developing. 🙂
Update fails to build:
Project uses TS 3.9.5.
tsconfig
:Let me know if you need additional information!