Open
Description
Here's SpanTermQuery, where value
is both a shortcut and has an alias (yes it's correct):
/**
* @shortcut_property value
* @ext_doc_id query-dsl-span-term-query
*/
export class SpanTermQuery extends QueryBase {
/** @aliases term */
value: FieldValue
}
All flight recorder tests fail with this one, saying:
Type '{ _name: string; boost: number; value: string; }' is not assignable to type 'FieldValue | QueryDslSpanTermQuery | undefined'.
and
Property 'term' is missing in type '{ _name: string; boost: number; value: string; }' but required in type 'QueryDslSpanTermQuery'.
So it seems like the combination of shortcut and aliases breaks both