We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3ecbe commit 69ecf7dCopy full SHA for 69ecf7d
packages/webdoc-parser/src/transformer/symbol-to-doc.js
@@ -138,6 +138,7 @@ export default function symbolToDoc(symbol: Symbol): ?Doc {
138
options.access = symbol.meta.access;
139
options.dataType = symbol.meta.dataType;
140
options.defaultValue = symbol.meta.defaultValue;
141
+ options.readonly = symbol.meta.readonly;
142
options.scope = symbol.meta.scope;
143
options.loc = symbol.loc;
144
packages/webdoc-parser/src/types/Symbol.js
@@ -30,6 +30,7 @@ export type SymbolSignature = {
30
implements?: ?Array<string | Symbol>,
31
object?: ?string,
32
params?: ?Array<$Shape<Param>>,
33
+ readonly?: boolean,
34
returns?: ?Array<$Shape<Return>>,
35
scope?: ?string,
36
value?: ?string,
0 commit comments