Skip to content

Commit 4e52024

Browse files
committed
test: fix type casting in tests
1 parent a4e49d1 commit 4e52024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const vm2 = new Vue({
3535
return {
3636
aPlusOne: this.$watchAsObservable('a').pipe(
3737
pluck('newValue'),
38-
map((a: number) => a + 1),
38+
map(a => (a as number) + 1),
3939
)
4040
}
4141
}

0 commit comments

Comments
 (0)