D
Deno

help

weird interface

R!Roricchi 2.0『藤田の妻』10/13/2022
how can a class implement this interface
interface I {
(): void
type: string
}
interface I {
(): void
type: string
}
or a const i accidently did this
const a = () => {}

a.type = 'ok'
const a = () => {}

a.type = 'ok'
and it changed a's type to { (): void; type: string }
UUUnknown User10/13/2022
Message Not Public
Sign In & Join Server To View

Looking for more? Join the community!