P
Prisma8mo ago
Nik

How to type $allModels result extension

I have the following simple example of a result extension:
$allModels:{
$toJson:{
compute(data){
return ()=>data
}
}
}
$allModels:{
$toJson:{
compute(data){
return ()=>data
}
}
}
However on all my modelsI can't even call it. It just says type never has no call signatures
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server