docs: show how to assign annotations to primitive array item types in config schema

This commit is contained in:
Patrik Oldsberg
2021-01-04 19:38:14 +01:00
parent 1c4deae059
commit be236536e7
+4
View File
@@ -36,6 +36,10 @@ export interface Config {
* @visibility frontend
*/
baseUrl: string;
// Use @items.<name> to assign annotations to primitive array items
/** @items.visibility frontend */
myItems: string[];
};
}
```