You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeResponseProxy<T,M>={(): T;}&{readonly[KinkeyofM]: M[K]};functionresponse<T>(name: string,value?: T): ResponseProxy<{name: string,value: T},T>{returnnewProxy({ name, value },{apply(target,thisArg,argumentsList){console.log("inside",target,thisArg,argumentsList);console.log("inside",name);returnname;}})asunknownasResponseProxy<{name: string,value: T},T>;}constselect=response<string>("Please select a `library` before using this option.","null");console.log(select.name,select.value);console.log(select());
The other option would probably be json or xml format like what's being considered for #73
The text was updated successfully, but these errors were encountered:
https://github.com/slash-create/docs-bot/blob/99905ffe8e330bb772f76f9409e05e1eb98f92b7/src/modules/discord/responses.ts#L1-L13
Rework to
{ name, value, toString }
or...... a proxy
... ok never mind
The other option would probably be json or xml format like what's being considered for #73
The text was updated successfully, but these errors were encountered: