Enable TS strict mode in all templates and generally clean up TS references

This commit is contained in:
Steve Sanderson
2017-07-13 10:11:59 +01:00
parent b8c006a3e9
commit 9528dd7432
14 changed files with 27 additions and 38 deletions

View File

@@ -1,9 +1,9 @@
import './css/site.css';
import 'bootstrap';
import * as ko from 'knockout';
import { createBrowserHistory } from 'history';
import './webpack-component-loader';
import AppRootComponent from './components/app-root/app-root';
import { createBrowserHistory } from 'history';
const baseUrl = document.getElementsByTagName('base')[0].getAttribute('href')!;
const basename = baseUrl.substring(0, baseUrl.length - 1); // History component needs no trailing slash