#software-engineering/typescript
1. declare the module in a `.d.ts`
2. fix the typing, it will merge with the default type
3. there you go 🎉
you can have multiple fixing `.d.ts` file, I tried to use multiple typing file in [[Obsidian 3D graph]] plugin and it works.