style: Remove use of `String` as type and use `string` instead. (#33763)
PR Close #33763
This commit is contained in:
parent
15f8638b1c
commit
7a29b24720
|
@ -171,9 +171,8 @@ export function getPropValuesStartPosition(
|
|||
}
|
||||
|
||||
export function hasValueChanged(
|
||||
a: NO_CHANGE | StylingMapArray | number | String | string | null | boolean | undefined | {},
|
||||
b: NO_CHANGE | StylingMapArray | number | String | string | null | boolean | undefined |
|
||||
{}): boolean {
|
||||
a: NO_CHANGE | StylingMapArray | number | string | null | boolean | undefined | {},
|
||||
b: NO_CHANGE | StylingMapArray | number | string | null | boolean | undefined | {}): boolean {
|
||||
if (b === NO_CHANGE) return false;
|
||||
|
||||
const compareValueA = Array.isArray(a) ? a[StylingMapArrayIndex.RawValuePosition] : a;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue