build: typescript 3.7 support (#33717)
This PR updates TypeScript version to 3.7 while retaining compatibility with TS3.6. PR Close #33717
This commit is contained in:
@ -150,7 +150,7 @@ describe(
|
||||
|
||||
it('cancel fetch should invoke onCancelTask',
|
||||
ifEnvSupportsWithDone('AbortController', (done: DoneFn) => {
|
||||
if (isSafari) {
|
||||
if (isSafari()) {
|
||||
// safari not work with AbortController
|
||||
done();
|
||||
return;
|
||||
@ -177,7 +177,7 @@ describe(
|
||||
|
||||
it('cancel fetchTask should trigger abort',
|
||||
ifEnvSupportsWithDone('AbortController', (done: DoneFn) => {
|
||||
if (isSafari) {
|
||||
if (isSafari()) {
|
||||
// safari not work with AbortController
|
||||
done();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user