style: Remove use of String as type and use string instead. (#33763)

PR Close #33763
This commit is contained in:
Miško Hevery
2019-11-12 09:08:40 -08:00
committed by Kara Erickson
parent 71238a95d9
commit e4cb91d373
2 changed files with 3 additions and 4 deletions

View File

@ -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);