type definition for tables in customer function

I am Making helper function which need two args like
function helper(db , tables){
const helperFunction = () => ...
const helperFunction2 = () => ...
retrun {
helperFunction,
helperFunction2
}
}

function helper(db, tables1, table2) {
...
}
function helper(db , tables){
const helperFunction = () => ...
const helperFunction2 = () => ...
retrun {
helperFunction,
helperFunction2
}
}

function helper(db, tables1, table2) {
...
}
how to do typeScript for it
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server