From d6afbffcd676451ebca6d8c20a56f3cafc684110 Mon Sep 17 00:00:00 2001 From: Material Web Team Date: Tue, 17 Sep 2024 10:01:19 -0700 Subject: [PATCH] chore: add `declare` to class fields for typescript PiperOrigin-RevId: 675608558 --- fab/branded-fab.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fab/branded-fab.ts b/fab/branded-fab.ts index 97efcdb96a..5522b924ba 100644 --- a/fab/branded-fab.ts +++ b/fab/branded-fab.ts @@ -53,7 +53,7 @@ export class MdBrandedFab extends Fab { /** * Branded FABs have no variants */ - override variant!: FabVariant; + declare variant: FabVariant; override getRenderClasses() { return { @@ -64,5 +64,9 @@ export class MdBrandedFab extends Fab { 'small': false, }; } - static override styles: CSSResultOrNative[] = [sharedStyles, styles, forcedColors]; + static override styles: CSSResultOrNative[] = [ + sharedStyles, + styles, + forcedColors, + ]; }