Rendered
tcmts.loader.Rendered · #zrpw6dqo · type
export interface Rendered {
text: string;
/** member hash → the identifier it is declared as */
memberNames: Map<string, string>;
/** where each reference to a codebase definition is in `text` (offsets of the name), for editors */
refs: { start: number; end: number; hash: string; from: string }[];
/** where each member's declaration starts in `text` */
starts: Map<string, number>;
/** where `export ` was inserted in each member's body (offsets in the body, as stored) */
inserts: Map<string, number[]>;
}
used by