Closed murmanox closed 1 year ago
When injecting a dependency for a class that has no constructor, multiple constructors will sometimes be created. When adding a dependency to an existing constructor, it will be added multiple times.
Unfortunately, I believe this is a vscode/TS bug. The language extensions get activated multiple times by TypeScript.
I can look into workarounds but it's a bit trickier given how language service plugins work.
https://github.com/rbxts-flamework/lsp/commit/88c0650d7a431bc4824f3186ea9f49712ac56a3d
When injecting a dependency for a class that has no constructor, multiple constructors will sometimes be created. When adding a dependency to an existing constructor, it will be added multiple times.