Typescript: import type and value from same module

Hello!

I have the same questions as in this thread: Typescript: import type and value from same module

However, the link to GitHub leads to a 404 error.

We have imports like:

import type { XXX } from '@aaaa/common';
import { YYY } from '@aaaa/common';

This code triggers the rule typescript:S3863: TypeScript static code analysis

So my question is the same: What should I do (other than disabling the rule) to prevent this from being marked as a code smell?

Hey there.

We can follow up and figure out what happened to that ticket.

What version of SonarQube are you using?

Hey!

We’re using Community Build v25.6.

Hi @nk-tedo-001 ,

the fix for that would be something like:

Cheers,
Victor