Skip to content

@alex.garcia/libfec / Cover

Type Alias: Cover ​

Cover = object & Form1 | object & Form3 | object & Form3P | object & Form1M | object & Form3X | object & Form3L | object & Form4 | object & Form7 | object & Form13 | object & Form24 | object & Form5 | object & Form6 | object & Form9 | object & Form2 | object & Form99

Defined in: generated/Cover.ts:33

A filing's typed cover record: Form3X, Form3, … . Narrow it with a switch on type, which is the struct's name:

ts
switch (filing.cover?.type) {
  case "Form3X": filing.cover.summary.line6c_total_receipts.column_a; break;
}

Rust and libfec info -f json nest these as { form, data }; the JS layer flattens them to { type, ...data }.