doc: clarify type parameter

This commit is contained in:
Dmitry Bushev 2024-11-20 17:08:11 +00:00
parent 86bfb986d1
commit fead15c762
No known key found for this signature in database
GPG Key ID: 87C16090D6910E91

View File

@ -366,7 +366,13 @@ An update about the computed expression.
interface ExpressionUpdate {
/** The id of updated expression. */
expressionId: ExpressionId;
/** The updated type of the expression. */
/** The updated type of the expression.
*
* Possible values:
* - empty array indicates no type information for this expression
* - array with a single value contains a value of this expression
* - array with multiple values represents an intersetion type
*/
type: string[];
/** The updated method call info. */
methodCall?: MethodCall;