mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(all): use ts strict mode
This commit is contained in:
@@ -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 {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user