Skip to content

Commit 6e7f3d7

Browse files
committed
Fixed solution
1 parent ddffb6f commit 6e7f3d7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
declare module "fake-animation-lib-solution" {
2-
export function getAnimatingState():
2+
export type AnimatingState =
33
| "before-animation"
44
| "animating"
55
| "after-animation";
6+
export function getAnimatingState(): AnimatingState;
67
}

src/05-external-libraries/26.5-override-external-lib-types.solution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ type tests = [
99
typeof animatingState,
1010
"before-animation" | "animating" | "after-animation"
1111
>
12-
>,
12+
>
1313
];

0 commit comments

Comments
 (0)