Skip to content

Commit

Permalink
docs: interface statement can have decorators
Browse files Browse the repository at this point in the history
The actual implementation was not reflected in the tree-sitter, so it was misunderstood when the tree-sitter was created.
  • Loading branch information
ncaq committed Jan 6, 2025
1 parent f8e4b4d commit fb43fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/spec/src/spec.emu.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Syntactic Grammar</h1>
`...` ReferenceExpression

InterfaceStatement :
`interface` Identifier TemplateParameters? InterfaceHeritage? `{` InterfaceBody? `}`
DecoratorList? `interface` Identifier TemplateParameters? InterfaceHeritage? `{` InterfaceBody? `}`

InterfaceHeritage :
`extends` ReferenceExpressionList;
Expand Down

0 comments on commit fb43fff

Please sign in to comment.