Skip to content

Commit 8b1c7f2

Browse files
authored
build: fix error with latest MDC canary version (#20540)
Updates an object to match the signature from the latest MDC Canary version.
1 parent 1dee6b2 commit 8b1c7f2

File tree

3 files changed

+572
-570
lines changed

3 files changed

+572
-570
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@types/youtube": "^0.0.38",
6262
"@webcomponents/custom-elements": "^1.1.0",
6363
"core-js": "^2.6.9",
64-
"material-components-web": "8.0.0-canary.911014711.0",
64+
"material-components-web": "8.0.0-canary.85a1fa9ea.0",
6565
"rxjs": "^6.5.3",
6666
"rxjs-tslint-rules": "^4.33.1",
6767
"systemjs": "0.19.43",

src/material-experimental/mdc-slider/slider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ export class MatSlider implements AfterViewInit, OnChanges, OnDestroy, ControlVa
256256
registerWindowEventHandler: () => {},
257257
deregisterWindowEventHandler: () => {},
258258
removeTrackActiveStyleProperty: (_propertyName: string) => {},
259+
emitDragStartEvent: (_value: number, _thumb: Thumb) => {},
260+
emitDragEndEvent: (_value: number, _thumb: Thumb) => {}
259261
};
260262

261263
/** Instance of the MDC slider foundation for this slider. */

0 commit comments

Comments
 (0)