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
Create better types for the PluginContext such that it would take the possible fetchable parameter values from params. This requires a bit typescript-fu, but should be possible to do. Maybe we can even allow people to do:
p.new(["a", "b", "c"], "my phrase", ctx => {
const paramA = ctx.a;
const paramB = ctx.b;
const paramC = ctx.c;
// do something with paramA, paramB, and paramC
return ctx.pass("kthxbye");
});
The text was updated successfully, but these errors were encountered:
Create better types for the PluginContext such that it would take the possible fetchable parameter values from params. This requires a bit typescript-fu, but should be possible to do. Maybe we can even allow people to do:
The text was updated successfully, but these errors were encountered: