Skip to content

Commit a573460

Browse files
author
copybara-service
committed
deploy: c8b2aaa
1 parent 6290b16 commit a573460

376 files changed

Lines changed: 1438 additions & 1548 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

front_end/core/common/AppProvider.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/common/AppProvider.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/common/Color.d.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export declare class Lab implements Color {
103103
readonly b: number;
104104
readonly alpha: number | null;
105105
readonly channels: [ColorChannel, ColorChannel, ColorChannel, ColorChannel];
106-
constructor(l: number, a: number, b: number, alpha: number | null, authoredText?: string | undefined);
106+
constructor(l: number, a: number, b: number, alpha: number | null, authoredText?: string);
107107
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
108108
as<T extends Format>(format: T): ReturnType<ColorConversions[T]>;
109109
asLegacyColor(): Legacy;
@@ -124,7 +124,7 @@ export declare class LCH implements Color {
124124
readonly h: number;
125125
readonly alpha: number | null;
126126
readonly channels: [ColorChannel, ColorChannel, ColorChannel, ColorChannel];
127-
constructor(l: number, c: number, h: number, alpha: number | null, authoredText?: string | undefined);
127+
constructor(l: number, c: number, h: number, alpha: number | null, authoredText?: string);
128128
asLegacyColor(): Legacy;
129129
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
130130
as<T extends Format>(format: T): ReturnType<ColorConversions[T]>;
@@ -146,7 +146,7 @@ export declare class Oklab implements Color {
146146
readonly b: number;
147147
readonly alpha: number | null;
148148
readonly channels: [ColorChannel, ColorChannel, ColorChannel, ColorChannel];
149-
constructor(l: number, a: number, b: number, alpha: number | null, authoredText?: string | undefined);
149+
constructor(l: number, a: number, b: number, alpha: number | null, authoredText?: string);
150150
asLegacyColor(): Legacy;
151151
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
152152
as<T extends Format>(format: T): ReturnType<ColorConversions[T]>;
@@ -167,7 +167,7 @@ export declare class Oklch implements Color {
167167
readonly h: number;
168168
readonly alpha: number | null;
169169
readonly channels: [ColorChannel, ColorChannel, ColorChannel, ColorChannel];
170-
constructor(l: number, c: number, h: number, alpha: number | null, authoredText?: string | undefined);
170+
constructor(l: number, c: number, h: number, alpha: number | null, authoredText?: string);
171171
asLegacyColor(): Legacy;
172172
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
173173
as<T extends Format>(format: T): ReturnType<ColorConversions[T]>;
@@ -189,7 +189,7 @@ export declare class ColorFunction implements Color {
189189
readonly alpha: number | null;
190190
readonly colorSpace: ColorSpace;
191191
get channels(): [ColorChannel, ColorChannel, ColorChannel, ColorChannel];
192-
constructor(colorSpace: ColorSpace, p0: number, p1: number, p2: number, alpha: number | null, authoredText?: string | undefined);
192+
constructor(colorSpace: ColorSpace, p0: number, p1: number, p2: number, alpha: number | null, authoredText?: string);
193193
asLegacyColor(): Legacy;
194194
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
195195
as<T extends Format>(format: T): ReturnType<ColorConversions[T]>;
@@ -223,9 +223,9 @@ export declare class HSL implements Color {
223223
readonly l: number;
224224
readonly alpha: number | null;
225225
readonly channels: [ColorChannel, ColorChannel, ColorChannel, ColorChannel];
226-
constructor(h: number, s: number, l: number, alpha: number | null | undefined, authoredText?: string);
226+
constructor(h: number, s: number, l: number, alpha?: number | null, authoredText?: string);
227227
equal(color: Color): boolean;
228-
asString(format?: Format | undefined): string;
228+
asString(format?: Format): string;
229229
setAlpha(alpha: number): HSL;
230230
format(): Format;
231231
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
@@ -248,7 +248,7 @@ export declare class HWB implements Color {
248248
readonly channels: [ColorChannel, ColorChannel, ColorChannel, ColorChannel];
249249
constructor(h: number, w: number, b: number, alpha: number | null, authoredText?: string);
250250
equal(color: Color): boolean;
251-
asString(format?: Format | undefined): string;
251+
asString(format?: Format): string;
252252
setAlpha(alpha: number): HWB;
253253
format(): Format;
254254
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
@@ -277,21 +277,21 @@ declare abstract class ShortFormatColorBase implements Color {
277277
getAuthoredText(): string | null;
278278
getRawParameters(): Color3D;
279279
isGamutClipped(): boolean;
280-
asString(format?: Format | undefined): string;
280+
asString(format?: Format): string;
281281
getAsRawString(format?: Format): string;
282282
protected abstract stringify(r: number, g: number, b: number): string;
283283
}
284284
export declare class ShortHex extends ShortFormatColorBase {
285285
setAlpha(alpha: number): Color;
286-
asString(format?: Format | undefined): string;
286+
asString(format?: Format): string;
287287
protected stringify(r: number, g: number, b: number): string;
288288
}
289289
export declare class Nickname extends ShortFormatColorBase {
290290
readonly nickname: string;
291291
constructor(nickname: string, color: Legacy);
292292
static fromName(name: string, text: string): Nickname | null;
293293
protected stringify(): string;
294-
getAsRawString(format?: Format | undefined): string;
294+
getAsRawString(format?: Format): string;
295295
}
296296
export declare class Legacy implements Color {
297297
#private;
@@ -302,7 +302,7 @@ export declare class Legacy implements Color {
302302
shortHex(): ShortHex | null;
303303
constructor(rgba: Color3D | Color4DOr3D, format: LegacyColor, authoredText?: string);
304304
static fromHex(hex: string, text: string): Legacy | ShortHex;
305-
static fromRGBAFunction(r: string, g: string, b: string, alpha: string | undefined, text: string): Legacy | null;
305+
static fromRGBAFunction(r: string, g: string, b: string, alpha: string, text: string): Legacy | null;
306306
static fromRGBA(rgba: number[], authoredText?: string): Legacy;
307307
static fromHSVA(hsva: Color4D): Legacy;
308308
is<T extends Format>(format: T): this is ReturnType<ColorConversions[T]>;
@@ -321,7 +321,7 @@ export declare class Legacy implements Color {
321321
r: number;
322322
g: number;
323323
b: number;
324-
a: (number | undefined);
324+
a?: number;
325325
};
326326
invert(): Legacy;
327327
/**
@@ -370,7 +370,7 @@ export declare const IsolationModeHighlight: {
370370
type Space = number | {
371371
min: number;
372372
max: number;
373-
count: (number | undefined);
373+
count?: number;
374374
};
375375
export declare class Generator {
376376
#private;

front_end/core/common/Color.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/common/Color.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/common/ParsedURL.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export declare class ParsedURL {
6262
static completeURL(baseURL: Platform.DevToolsPath.UrlString, href: string): Platform.DevToolsPath.UrlString | null;
6363
static splitLineAndColumn(string: string): {
6464
url: Platform.DevToolsPath.UrlString;
65-
lineNumber: (number | undefined);
66-
columnNumber: (number | undefined);
65+
lineNumber?: number;
66+
columnNumber?: number;
6767
};
6868
static removeWasmFunctionInfoFromURL(url: string): Platform.DevToolsPath.UrlString;
6969
private static beginsWithWindowsDriveLetter;
@@ -74,8 +74,8 @@ export declare class ParsedURL {
7474
isAboutBlank(): boolean;
7575
isDataURL(): boolean;
7676
extractDataUrlMimeType(): {
77-
type: string | undefined;
78-
subtype: string | undefined;
77+
type?: string;
78+
subtype?: string | undefined;
7979
};
8080
isBlobURL(): boolean;
8181
lastPathComponentWithFragment(): string;

front_end/core/common/ParsedURL.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/core/common/Progress.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
export interface Progress {
22
totalWork: number;
33
worked: number;
4-
title: string | undefined;
4+
title?: string;
55
canceled: boolean;
66
done: boolean;
77
}
88
export declare class Progress implements Progress {
99
totalWork: number;
1010
worked: number;
11-
title: string | undefined;
11+
title?: string;
1212
canceled: boolean;
1313
done: boolean;
1414
}

front_end/core/common/Progress.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)