export default (x: number, y: number): number => x + y; const app: HTMLElement | null = document.getElementById('app'); if (app) { app.innerHTML = '

Hello World!

'; } /** * HMR allows modules to replace on updates */ declare var module: any; // TODO: add webpack HMR typings if (module.hot) { module.hot.accept(); }