See TS Config in Code Cookbook.