We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0734f9d commit 3e37128Copy full SHA for 3e37128
src/cdk/drag-drop/drag-styling.ts
@@ -30,7 +30,7 @@ export function extendStyles(
30
source: Partial<DragCSSStyleDeclaration>) {
31
for (let key in source) {
32
if (source.hasOwnProperty(key)) {
33
- dest[key as keyof CSSStyleDeclaration] = source[key as keyof CSSStyleDeclaration];
+ dest[key] = source[key]!;
34
}
35
36
0 commit comments