The interfaces.ts file declares and exports a couple of interfaces: export interface Weapon { tryHit(fromDistance: number): boolean; } export interface Named { name: string; }