see Entity . append export interface ILinkedComponent { next ? : ILinkedComponent ; } see Entity . append export class LinkedComponent implements ILinkedComponent { public next ? : this = undefined ; public constructor ( ) { } } internal export function isLinkedComponent ( component ) { return component . hasOwnProperty ( 'next' ) ; }