const a = 'a'
const obj = { [a]:1 } // {a:1}
const b = 'b/a' as `b/${string}`
const obj2 = { [b]:1 } // {[x:string]:1}, expecting {[x:`b/${string}`]:1}
this is a known widen string deficiency
it is part of this long going issue
const a = 'a'
const obj = { [a]:1 } // {a:1}
const b = 'b/a' as `b/${string}`
const obj2 = { [b]:1 } // {[x:string]:1}, expecting {[x:`b/${string}`]:1}
this is a known widen string deficiency
it is part of this long going issue
For further actions, you may consider blocking this person and/or reporting abuse
Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.
Kaan Kaya -
varzoeaa -
Luca Liu -
Lay -
Top comments (0)