Skip to content

Commit 3e37128

Browse files
mprobstmmalerba
authored andcommitted
chore(drag-drop): Fix compilation in TS3.6. (#17217)
This version compiles in 3.5 and 3.6. (cherry picked from commit 361d1cf)
1 parent 0734f9d commit 3e37128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/drag-drop/drag-styling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function extendStyles(
3030
source: Partial<DragCSSStyleDeclaration>) {
3131
for (let key in source) {
3232
if (source.hasOwnProperty(key)) {
33-
dest[key as keyof CSSStyleDeclaration] = source[key as keyof CSSStyleDeclaration];
33+
dest[key] = source[key]!;
3434
}
3535
}
3636

0 commit comments

Comments
 (0)