Product: SonarQube Data Center Edition (Version 9.9)
Language: Typescript
Rule: typescript:S1128 (Unnecessary imports should be removed)
The following code snippet is a code smell, according to typescript:S1128.
import type { Server } from "./Server";
/** Used to connect to the {@link Server} */
export class Client {}
This is a false-positive in my opinion because the imported type is not unused. It is referenced in the JSDoc comment.
Thanks in advance for your help!