We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When enabling type assertions in steps, e.g.
type Top<E extends Expr> = State<Inst, Expr> &{stack: {top: E}}; CREATE: [0xf0, function create(state: State<Inst, Expr>): asserts state is Top<Create> { // [...] }
their usage step.CREATE(state); raises the following error
step.CREATE(state);
Assertions require every name in the call target to be declared with an explicit type annotation. ts(2775)
It may seem related to
But not sure which name missing an explicit type annotation is referring to.
name
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
name
missing an explicit type annotation is referring to.The text was updated successfully, but these errors were encountered: