You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just upgraded to the latest version of intro.js in our Angular project, and the following is no longer valid and causes TS compilation errors:
import introJs from 'intro.js';
const steps: introJs.Step[] = []
However, when i upgade the import to the one above, it works, albeit with the following TS warnings:
TS7016: Could not find a declaration file for module intro.js/intro.js.
C:/Users/joe.williams/Projects/Megatron/frontend/src/node_modules/intro.js/intro.js
implicitly has an any type.
Is this:
import introJs from 'intro.js/intro.js';
still the best way to import introJs types?
We just upgraded to the latest version of intro.js in our Angular project, and the following is no longer valid and causes TS compilation errors:
However, when i upgade the import to the one above, it works, albeit with the following TS warnings:
Originally posted by @joewIST in #874 (comment)
The text was updated successfully, but these errors were encountered: