feat(animations): Update types for TypeScript nullability support
Closes #15870
This commit is contained in:

committed by
Hans Larsen

parent
04fb29b589
commit
38d75d410e
@ -13,12 +13,12 @@ export interface AnimationTimelineInstruction extends AnimationEngineInstruction
|
||||
duration: number;
|
||||
delay: number;
|
||||
totalTime: number;
|
||||
easing: string;
|
||||
easing: string|null|undefined;
|
||||
}
|
||||
|
||||
export function createTimelineInstruction(
|
||||
keyframes: ɵStyleData[], duration: number, delay: number,
|
||||
easing: string): AnimationTimelineInstruction {
|
||||
easing: string | null | undefined): AnimationTimelineInstruction {
|
||||
return {
|
||||
type: AnimationTransitionInstructionType.TimelineAnimation,
|
||||
keyframes,
|
||||
|
Reference in New Issue
Block a user