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 191357a commit 8fd9d7dCopy full SHA for 8fd9d7d
src/material/core/ripple/ripple-renderer.ts
@@ -147,7 +147,8 @@ export class RippleRenderer {
147
ripple.style.width = `${radius * 2}px`;
148
149
// If the color is not set, the default CSS color will be used.
150
- ripple.style.backgroundColor = config.color || null;
+ // TODO(TS3.7): Type 'string | null' is not assignable to type 'string'.
151
+ ripple.style.backgroundColor = (config.color || null) as any;
152
ripple.style.transitionDuration = `${duration}ms`;
153
154
this._containerElement.appendChild(ripple);
0 commit comments