aboutsummaryrefslogtreecommitdiff
path: root/test/corpus
diff options
context:
space:
mode:
Diffstat (limited to 'test/corpus')
-rw-r--r--test/corpus/notation.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/corpus/notation.txt b/test/corpus/notation.txt
index 435e9dc..18be252 100644
--- a/test/corpus/notation.txt
+++ b/test/corpus/notation.txt
@@ -21,7 +21,7 @@ Forum.Models.Post
::getAll(parent_id <UUID>) => Promise<Array<Forum.Models.Post>> #> NotFoundError,DisplayError
::get(id <UUID>) => Promise<Forum.Models.Post>
#update(text <String>) => Promise<void>
- #transform(transformer <Function<T>(T) => boolean>)
+ #transform([transformer] <Function<T>(T) => boolean>)
---
@@ -167,6 +167,7 @@ Forum.Models.Post
(member_type)
(parameter_list
(identifier
+ (optional_value)
(type_annotation
(entry
(identifier