This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Description
Environment information
Rome 11.0.0
Typescript 4.9.4
What happened?
Lint error on mapped types
The K variable is undeclared rome(lint/correctness/noUndeclaredVariables)
interface SomeType {
x: string
}
type OtherType = {
[K in keyof SomeType]: SomeType[K]
}
Expected result
It should not throw an error.
Code of Conduct