chore(tslint): update tslint rules and autofix lint errors

This commit is contained in:
Brandy Carney
2018-01-10 14:42:26 -05:00
parent d0747bd7a9
commit 835175c43c
73 changed files with 592 additions and 468 deletions

View File

@ -40,7 +40,7 @@ export class ChipButton {
/**
* @input {boolean} If true, sets the button into a disabled state.
*/
@Prop() disabled: boolean = false;
@Prop() disabled = false;
/**
* Get the classes based on the button type
@ -60,7 +60,7 @@ export class ChipButton {
* Get the classes for the color
*/
private getColorClassList(color: string, buttonType: string, style: string, mode: string): string[] {
let className = (style === 'default') ? `${buttonType}` : `${buttonType}-${style}`;
const className = (style === 'default') ? `${buttonType}` : `${buttonType}-${style}`;
return [`${className}-${mode}`].concat(
style !== 'default' ? `${className}` : [],