Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build 5.0.0 with TypeScript #406

Open
DemonICOLI opened this issue May 22, 2024 · 0 comments
Open

Unable to build 5.0.0 with TypeScript #406

DemonICOLI opened this issue May 22, 2024 · 0 comments

Comments

@DemonICOLI
Copy link

  • intercom-node version: 5.0.0
  • Node version: 20 (LTS) and TypeScript 5.4.5

Expected behavior

Code Compiles

Actual behavior

Trying to compile breaks with the following error message:

node_modules/intercom-client/dist/client.d.ts(44,20): error TS2749: 'Axios' refers to a value, but is being used as a type here. Did you mean 'typeof Axios'?`
/node_modules/intercom-client/dist/client.d.ts(66,30): error TS2749: 'Axios' refers to a value, but is being used as a type here. Did you mean 'typeof Axios'?

tsconfig.json

{
  "compilerOptions": {
    "outDir": "./build",
    "allowJs": true,
    "target": "ES2022",
    "module": "Node16",
    "lib": ["ES2023"],
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "moduleResolution": "Node16",
    "sourceMap": true
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant