fix(shell): fix api svc types

This commit is contained in:
Il Harper 2024-03-06 11:17:49 +08:00
parent 5957ecacad
commit e474f77790
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC

View File

@ -31,7 +31,11 @@ const buildNotimpl = (name: string) => {
throw: true,
})
fn[notimplSym] = true
;(
fn as unknown as {
[notimplSym]: boolean
}
)[notimplSym] = true
}
const handler: ProxyHandler<Api> = {