fields is an inline object literal in this same call.
Readonlykind: "literal"Always "literal" for this variant.
Readonlynode: ts.ObjectLiteralExpressionThe object literal AST node itself.
fields is a bare identifier -- resolved against ParseResult.localConsts/cross-file imports by link.ts.
Readonlykind: "identifier"Always "identifier" for this variant.
Readonlyname: stringThe identifier's text.
fields could not be statically resolved to either of the above.
Readonlykind: "unresolvable"Always "unresolvable" for this variant.
Readonlyreason: stringHuman-readable explanation of why resolution failed.
How a
buildData/createData/documentDatacall'sfieldsreference resolves, before any cross-file linking is attempted (that'slink.ts's job -- this module only ever looks at one file's own AST).