File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 71
71
"serve" : " ^11.3.0" ,
72
72
"ts-jest" : " ^25.2.1" ,
73
73
"tsd" : " ^0.11.0" ,
74
- "typescript" : " ^3.8.3 " ,
74
+ "typescript" : " ^3.9.1-rc " ,
75
75
"yorkie" : " ^2.0.0"
76
76
}
77
77
}
Original file line number Diff line number Diff line change @@ -178,9 +178,9 @@ export interface MethodOptions {
178
178
}
179
179
180
180
export type ExtractComputedReturns < T extends any > = {
181
- [ key in keyof T ] : T [ key ] extends { get : Function }
182
- ? ReturnType < T [ key ] [ 'get' ] >
183
- : ReturnType < T [ key ] >
181
+ [ key in keyof T ] : T [ key ] extends { get : ( ... args : any [ ] ) => infer TReturn }
182
+ ? TReturn
183
+ : T [ key ] extends ( ... args : any [ ] ) => infer TReturn ? TReturn : never
184
184
}
185
185
186
186
type WatchOptionItem =
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ function createSuspenseBoundary(
244
244
/* istanbul ignore if */
245
245
if ( __DEV__ && ! __TEST__ && ! hasWarned ) {
246
246
hasWarned = true
247
- console [ console . info ? 'info' : 'log' ] (
247
+ console [ ( console as any ) . info ? 'info' : 'log' ] (
248
248
`<Suspense> is an experimental feature and its API will likely change.`
249
249
)
250
250
}
Original file line number Diff line number Diff line change 1
1
if ( __BROWSER__ && __DEV__ ) {
2
- console [ console . info ? 'info' : 'log' ] (
2
+ console [ ( console as any ) . info ? 'info' : 'log' ] (
3
3
`You are running a development build of Vue.\n` +
4
4
`Make sure to use the production build (*.prod.js) when deploying for production.`
5
5
)
Original file line number Diff line number Diff line change @@ -7420,10 +7420,10 @@ typedarray@^0.0.6:
7420
7420
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
7421
7421
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
7422
7422
7423
- typescript@^3.8.3 :
7424
- version "3.8.3 "
7425
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3 .tgz#409eb8544ea0335711205869ec458ab109ee1061 "
7426
- integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w ==
7423
+ typescript@^3.9.1-rc :
7424
+ version "3.9.1-rc "
7425
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.1-rc .tgz#81d5a5a0a597e224b6e2af8dffb46524b2eaf5f3 "
7426
+ integrity sha512-+cPv8L2Vd4KidCotqi2wjegBZ5n47CDRUu/QiLVu2YbeXAz78hIfcai9ziBiNI6JTGTVwUqXRug2UZxDcxhvFw ==
7427
7427
7428
7428
typescript@~3.7.2 :
7429
7429
version "3.7.5"
You can’t perform that action at this time.
0 commit comments