UNPKG

my-example-types

Version:

Spartans never die. They just go missing in action.

23 lines (22 loc) 615 B
export default interface Spartan { readonly label: string; readonly name: string; } export declare class SpartanI implements Spartan { #private; readonly label = "ORION"; readonly name: string; constructor(name: string); hasBorens(): boolean; falsifyRecords(): void; } export declare class SpartanII implements Spartan { #private; readonly label = "II"; readonly name: string; readonly tag: number; constructor(name: any, tag: any); getArmor(): string; setArmor(armor: string | undefined): void; } export declare const spartans: (SpartanI | SpartanII)[];