Yeoman generator to create polutz domain modules.
You can remove 'yo typings' if you already have them installed
npm install -g generator-ptz-domain yo typings
Go to your project folder and run:
yo ptz-domain && typings install
replace 'EntityName' with your class name, using first letter as upercase
yo ptz-domain:entity EntityName