refactor(all): use ts strict mode

This commit is contained in:
Manu Mtz.-Almeida
2018-02-05 18:34:37 +01:00
parent 513b0216dd
commit 2f8a027e2f
35 changed files with 3630 additions and 293 deletions

View File

@@ -148,7 +148,7 @@ export class Button {
* Get the classes based on the type
* e.g. block, full, round, large
*/
function getButtonTypeClassMap(buttonType: string, type: string, mode: string): CssClassMap {
function getButtonTypeClassMap(buttonType: string, type: string|null, mode: string): CssClassMap {
if (!type) {
return {};
}