style: Remove use of String
as type and use string
instead. (#33763)
PR Close #33763
This commit is contained in:

committed by
Kara Erickson

parent
71238a95d9
commit
e4cb91d373
@ -299,7 +299,7 @@ function makeRequest(scope: SwTestHarness, url: string, clientId?: string): Prom
|
||||
}
|
||||
|
||||
function makeNoCorsRequest(
|
||||
scope: SwTestHarness, url: string, clientId?: string): Promise<String|null> {
|
||||
scope: SwTestHarness, url: string, clientId?: string): Promise<string|null> {
|
||||
const req = new MockRequest(url, {mode: 'no-cors'});
|
||||
const [resTextPromise, done] = makePendingRequest(scope, req, clientId);
|
||||
return done.then(() => resTextPromise);
|
||||
|
Reference in New Issue
Block a user