// tsconfig.json { "compilerOptions": { // ... "types": ["element-plus/global"] } }