type Top<E extends Expr> = State<Inst, Expr> &{stack: {top: E}};
CREATE: [0xf0, function create(state: State<Inst, Expr>): asserts state is Top<Create> {
// [...]
}
Assertions require every name in the call target to be declared with an explicit type annotation. ts(2775)
When enabling type assertions in steps, e.g.
their usage
step.CREATE(state);raises the following errorIt may seem related to
But not sure which
namemissing an explicit type annotation is referring to.