impossible to force (property) as (method)?

{
(method) open(a: boolean): string
(property) close: (a: boolean) => string
}
{
(method) open(a: boolean): string
(property) close: (a: boolean) => string
}
how to cast close to look like
(method) close(a: boolean): string
(method) close(a: boolean): string
in typescript's eyes? literally just to make intelisense nicer https://cdn.discordapp.com/attachments/1127442108404469811/1127442108526116894/Screenshot_2023-07-08_at_10.32.16_PM.png
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server