Skip to content

Commit ed33e2a

Browse files
fix: re-generate types based on spec updates (GoogleChromeLabs#295)
1 parent 4410b4f commit ed33e2a

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

out/gen/main.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,9 @@ export declare namespace Emulation {
11761176
type: 'offline';
11771177
};
11781178
}
1179+
export declare namespace Emulation {
1180+
type SetNetworkConditionsResult = EmptyResult;
1181+
}
11791182
export declare namespace Emulation {
11801183
type SetScreenOrientationOverride = {
11811184
method: 'emulation.setScreenOrientationOverride';

out/gen/mapping.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export interface Commands {
140140
};
141141
'emulation.setNetworkConditions': {
142142
params: Bidi.Emulation.SetNetworkConditionsParameters;
143-
returnType: Bidi.EmptyResult;
143+
returnType: Bidi.Emulation.SetNetworkConditionsResult;
144144
};
145145
'emulation.setScreenOrientationOverride': {
146146
params: Bidi.Emulation.SetScreenOrientationOverrideParameters;

src/gen/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,9 @@ export namespace Emulation {
11781178
type: 'offline';
11791179
};
11801180
}
1181+
export namespace Emulation {
1182+
export type SetNetworkConditionsResult = EmptyResult;
1183+
}
11811184
export namespace Emulation {
11821185
export type SetScreenOrientationOverride = {
11831186
method: 'emulation.setScreenOrientationOverride';

src/gen/mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export interface Commands {
141141
};
142142
'emulation.setNetworkConditions': {
143143
params: Bidi.Emulation.SetNetworkConditionsParameters;
144-
returnType: Bidi.EmptyResult;
144+
returnType: Bidi.Emulation.SetNetworkConditionsResult;
145145
};
146146
'emulation.setScreenOrientationOverride': {
147147
params: Bidi.Emulation.SetScreenOrientationOverrideParameters;

0 commit comments

Comments
 (0)