googleapis / googleapis/google-api-nodejs-client

Too slow tsc compilation time with importing just googleapis

Open
#3,296 0 comments 5 reactions 0 assignees View on GitHub
priority: p2 type: bug
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

It takes 10 second to compile with `tsc` just with importing `googleapis`

- macOS 10.15.7
- Node v18.16.1
- npm 9.8.0
- googleapis: "^118.0.0"

googleapis-import

tsconfig.json

```json
{
"compilerOptions": {
"strict": true,
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
"moduleResolution": "NodeNext",
"skipLibCheck": true,
"noEmit": true,
"allowJs": true
},
"exclude": [
"node_modules"
]
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.