awaitForReferences
función
The references that <MeekoAwait for="…"> waits for, as written: items or each element of
[items, stats], when it is a plain reference (a, a.b). Inside its content, meeko check
and the editor read <reference>.data.value as loaded. Anything else is not narrowed.
ts
import { awaitForReferences } from "@meekojs/meeko/compiler";Source code src/compiler.ts:455
Firma #
ts
function awaitForReferences(expression: string): Array<{ text: string; start: number; }>Parameters #
-
expressionstring
Returns #
-
Array<{ text: string; start: number }>