Do you want to request a feature or report a bug? bug
What is the current behavior?

import Pusher from "pusher-js"
const pusher = new Pusher("APP_KEY", { cluster: "eu" })
tsconfig
{
"include": ["**/*.ts", "**/*.tsx"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"module": "nodenext",
"moduleResolution": "nodenext",
"resolveJsonModule": true,
"target": "ES2022",
"strict": true,
"noImplicitAny": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"@/*": ["./app/*"],
"@/components": ["app/components/index.ts"],
"@/state": ["app/utils/state/index.ts"],
"@/icon-name": ["types/icon-name.d.ts"]
},
"skipLibCheck": true,
"allowImportingTsExtensions": true,
"noEmit": true
}
}
What is the expected behavior?
TypeScript would detect te class as expected.
Which versions of Pusher, and which browsers / OS are affected by this issue?
Did this work in previous versions of Pusher? If so, which? tested with 8.4, 8.3, 7.6;
Do you want to request a feature or report a bug? bug
What is the current behavior?
tsconfig
{ "include": ["**/*.ts", "**/*.tsx"], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2022"], "isolatedModules": true, "esModuleInterop": true, "jsx": "react-jsx", "module": "nodenext", "moduleResolution": "nodenext", "resolveJsonModule": true, "target": "ES2022", "strict": true, "noImplicitAny": true, "allowJs": true, "forceConsistentCasingInFileNames": true, "baseUrl": ".", "paths": { "@/*": ["./app/*"], "@/components": ["app/components/index.ts"], "@/state": ["app/utils/state/index.ts"], "@/icon-name": ["types/icon-name.d.ts"] }, "skipLibCheck": true, "allowImportingTsExtensions": true, "noEmit": true } }What is the expected behavior?
TypeScript would detect te class as expected.
Which versions of Pusher, and which browsers / OS are affected by this issue?
Did this work in previous versions of Pusher? If so, which? tested with 8.4, 8.3, 7.6;