namespace EmptyTypeImplementation { declare const EmptyType ; class Empty { [ EmptyType ] : void ; private constructor ( ) { } } function raise ( message ) { console . error ( `Error "${ message }" raised at ${ new Date ( ) }` ) ; throw new Error ( message ) ; } }