Hello!!
We installed novu@notification-center (v0.23.0) to start using Novu. Everything works fine, but our typescript is throwing this error: Type 'Timeout' is not assignable to type 'Number'. It seems like Typescript does not know if Timeout comes from the DOM or nodeJS.
In our tsconfig.ts, we specified the types & lib like this:
"ES2021",
"DOM"
],
"types": [
"jest",
"react",
"react-dom",
"route-parser"
],
We removed the '@types/node' from our package-json to see what package may be causing the issue, and we found it in @novu/shared, where it was added using the triple slash directive:
/// <reference types="node />"
Can we fix this on our side? Are we missing something?
Thank you!