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
import{context,loadOne,list}from"grafast";import{WithPgClient}from"@dataplan/pg";declare global {// eslint-disable-next-line @typescript-eslint/no-namespacenamespaceGrafast{interfaceContext{rootPgClient: WithPgClient;}}}constctx=context();constroot=ctx.get("rootPgClient");// AccessStep<WithPgClient>const$test=loadOne(list([root]),async(opts)=>{for(constoptofopts){// ^? opt: unknown < Should be `UnwrapPlanTuple<...>`constrootPgClient=opt[0];// ^? rootPgClient: any < Should be WithPgClient}return[];});
The text was updated successfully, but these errors were encountered:
See: https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgYwgOxgUwB4wDRwA2EAhgCYDyamBhwAzvAL5wBmUEIcARAOZQlWJRtwDcAKFCRYiOAHVgMABYAFXgGE6mDHBbtOPAAJkSMEmEIk0AejC8x48WUzJLUTHF7EARiUKJxODhrazhMejoMAFoyBhJvQkwo6lwoyI9DGABPMHDkKGAwGCjwyJhrNAhkkhBwsBJkTEC4NBq6ho8AcQEhRgCgoOAMTCghRrh1dCxcfoGgjggYNU1gbRgALnlFVQ0tDAk5pmajo-FUND7kGGw4AF4UKZwYAAoASglzvoX4e6vsADpeJgXtxvss9jBuO9gqEAILIRr0egAZSwYAAPAplODVhgAHxndB9AAkWD692I5ComGedEYzwA2t8ALqvAhoACuhEI7K5PLgwiyaGQcGeECK9Fedzxs1Y0FFn3g4qVrDgyslsyCITmAwAegB+ZpBRVwMG7XE-NVFBkABmZBwG2r1hqCR3mwI5UDQcAZ9vETHe4iAA
Reported by @purge
The text was updated successfully, but these errors were encountered: