Import and export in TypeScript with Webpack This is a sample for import and export in TypeScript with Webpack. Check out blog post Understanding import and export in TypeScript and ES6 (ECMAScript 2015). Setup npm install Build npm start Run Open index.html in browser, check console log to see result.