Skip to content

Commit

Permalink
chore: add declare to class fields for typescript
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675299504
  • Loading branch information
material-web-copybara authored and copybara-github committed Sep 17, 2024
1 parent 28d8a1e commit 44ed2b1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fab/branded-fab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class MdBrandedFab extends Fab {
/**
* Branded FABs have no variants
*/
override variant!: FabVariant;
declare variant: FabVariant;

override getRenderClasses() {
return {
Expand All @@ -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,
];
}

0 comments on commit 44ed2b1

Please sign in to comment.