lint/correctness/noUndeclaredVariables should ignore TsGlobalDeclaration
ash0080 opened this issue · comments
Regarding similar situations, should the same requirement of "no undeclared variables" also be satisfied?
Originally posted by @ash0080 in #1651 (comment)
Please update the playground link, it seems not illustrate the current issue.
Please update the playground link, it seems not illustrate the current issue.
It seems the playground server was experiencing an issue, but it appears to be accessible now.
I see the following code in the playground:
export default {
flowProps: 'a'
} satisfies FlowConfig
I don't understand how this code is related to the current issue.
I see the following code in the playground:
export default { flowProps: 'a' } satisfies FlowConfigI don't understand how this code is related to the current issue.
check the main.ts
declare global {
interface FlowConfig {
flowProps: string
}
}
In this case, where I have defined a global type instead of a global variable, the current implementation of Biome does not support this. The key difference from the previous issue (#1651) is that I am now working with a global type definition, rather than a global variable.
I can't replicate the issue in the playground.
I can't replicate the issue in the playground.
Try this one plz
@ash0080 sorry, the playground doesn't show the error.
Please create a repository at this point.