Skip to content

Commit

Permalink
build: fix build failure in latest MDC canary (#20597)
Browse files Browse the repository at this point in the history
Fixes a build error due to a new required property.

(cherry picked from commit c21c6f5)
  • Loading branch information
crisbeto authored and wagnermaciel committed Sep 18, 2020
1 parent 95e48bb commit b23d130
Show file tree
Hide file tree
Showing 3 changed files with 572 additions and 571 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@types/youtube": "^0.0.38",
"@webcomponents/custom-elements": "^1.1.0",
"core-js": "^2.6.9",
"material-components-web": "8.0.0-canary.fc0eb5013.0",
"material-components-web": "8.0.0-canary.3e435ba57.0",
"rxjs": "^6.5.3",
"rxjs-tslint-rules": "^4.33.1",
"systemjs": "0.19.43",
Expand Down
3 changes: 2 additions & 1 deletion src/material-experimental/mdc-slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ export class MatSlider implements AfterViewInit, OnChanges, OnDestroy, ControlVa
deregisterWindowEventHandler: () => {},
removeTrackActiveStyleProperty: (_propertyName: string) => {},
emitDragStartEvent: (_value: number, _thumb: Thumb) => {},
emitDragEndEvent: (_value: number, _thumb: Thumb) => {}
emitDragEndEvent: (_value: number, _thumb: Thumb) => {},
getValueToAriaValueTextFn: () => null
};

/** Instance of the MDC slider foundation for this slider. */
Expand Down
Loading

0 comments on commit b23d130

Please sign in to comment.