docs(parser): rephrase validTypes description [skip ci]

This commit is contained in:
LuanRT
2022-09-23 03:38:11 -03:00
parent a4a88419ef
commit 556c7cd6e8

View File

@@ -20,7 +20,7 @@ Responsible for parsing individual nodes.
| --- | --- | --- |
| data | `any` | The data |
| requireArray | `?boolean` | Whether the response should be an array |
| validTypes | `YTNodeConstructor<T> \| YTNodeConstructor<T>[] \| undefined` | The types of YTNodes are allowed |
| validTypes | `YTNodeConstructor<T> \| YTNodeConstructor<T>[] \| undefined` | Types of `YTNode` allowed |
When `requireArray` is `true`, the response will be an `ObservedArray<YTNodes>`.