chore: TypeScript 5.2 with Nx 16.8.1 (#10380)

This commit is contained in:
Nathan Walker
2023-09-09 08:55:39 -07:00
committed by GitHub
parent f54ebbb2bf
commit 7c2938d2ac
28 changed files with 612 additions and 793 deletions

View File

@ -40,9 +40,7 @@ export namespace HeapDomain {
// Stop tracking heap changes. This will produce a `trackingComplete` event.
stopTracking(): void;
// Returns a preview (string, Debugger.FunctionDetails, or Runtime.ObjectPreview) for a Heap.HeapObjectId.
getPreview(
params: GetPreviewMethodArguments
): {
getPreview(params: GetPreviewMethodArguments): {
string?: string;
functionDetails?: DebuggerDomain.FunctionDetails;
preview?: RuntimeDomain.ObjectPreview;
@ -315,9 +313,7 @@ export namespace DebuggerDomain {
// Set pause on assertions state. Assertions are console.assert assertions.
setPauseOnAssertions(params: SetPauseOnAssertionsMethodArguments): void;
// Evaluates expression on a given call frame.
evaluateOnCallFrame(
params: EvaluateOnCallFrameMethodArguments
): {
evaluateOnCallFrame(params: EvaluateOnCallFrameMethodArguments): {
result: RuntimeDomain.RemoteObject;
wasThrown?: boolean;
savedResultIndex?: number;
@ -710,9 +706,7 @@ export namespace RuntimeDomain {
// Parses JavaScript source code for errors.
parse(params: ParseMethodArguments): { result: SyntaxErrorType; message?: string; range?: ErrorRange };
// Evaluates expression on global object.
evaluate(
params: EvaluateMethodArguments
): {
evaluate(params: EvaluateMethodArguments): {
result: RemoteObject;
wasThrown?: boolean;
savedResultIndex?: number;
@ -720,16 +714,12 @@ export namespace RuntimeDomain {
// Calls function with given declaration on the given object. Object group of the result is inherited from the target object.
callFunctionOn(params: CallFunctionOnMethodArguments): { result: RemoteObject; wasThrown?: boolean };
// Returns properties of a given object. Object group of the result is inherited from the target object.
getProperties(
params: GetPropertiesMethodArguments
): {
getProperties(params: GetPropertiesMethodArguments): {
result: PropertyDescriptor[];
internalProperties?: InternalPropertyDescriptor[];
};
// Returns displayable properties of a given object. Object group of the result is inherited from the target object. Displayable properties are own properties, internal properties, and native getters in the prototype chain (assumed to be bindings and treated like own properties for the frontend).
getDisplayableProperties(
params: GetDisplayablePropertiesMethodArguments
): {
getDisplayableProperties(params: GetDisplayablePropertiesMethodArguments): {
properties: PropertyDescriptor[];
internalProperties?: InternalPropertyDescriptor[];
};
@ -2114,9 +2104,7 @@ export namespace CSSDomain {
// Disables the CSS agent for the given page.
disable(): void;
// Returns requested styles for a DOM node identified by <code>nodeId</code>.
getMatchedStylesForNode(
params: GetMatchedStylesForNodeMethodArguments
): {
getMatchedStylesForNode(params: GetMatchedStylesForNodeMethodArguments): {
inlineStyle?: CSSStyle;
attributesStyle?: CSSStyle;
matchedCSSRules?: RuleMatch[];

View File

@ -46,9 +46,7 @@ export class CSSDomainDebugger implements inspectorCommandTypes.CSSDomain.CSSDom
this._enabled = false;
}
getMatchedStylesForNode(
params: inspectorCommandTypes.CSSDomain.GetMatchedStylesForNodeMethodArguments
): {
getMatchedStylesForNode(params: inspectorCommandTypes.CSSDomain.GetMatchedStylesForNodeMethodArguments): {
inlineStyle?: inspectorCommandTypes.CSSDomain.CSSStyle;
attributesStyle?: inspectorCommandTypes.CSSDomain.CSSStyle;
matchedCSSRules?: inspectorCommandTypes.CSSDomain.RuleMatch[];
@ -59,18 +57,14 @@ export class CSSDomainDebugger implements inspectorCommandTypes.CSSDomain.CSSDom
return {};
}
// Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by <code>nodeId</code>.
getInlineStylesForNode(
params: inspectorCommandTypes.CSSDomain.GetInlineStylesForNodeMethodArguments
): {
getInlineStylesForNode(params: inspectorCommandTypes.CSSDomain.GetInlineStylesForNodeMethodArguments): {
inlineStyle?: inspectorCommandTypes.CSSDomain.CSSStyle;
attributesStyle?: inspectorCommandTypes.CSSDomain.CSSStyle;
} {
return {};
}
// Returns the computed style for a DOM node identified by <code>nodeId</code>.
getComputedStyleForNode(
params: inspectorCommandTypes.CSSDomain.GetComputedStyleForNodeMethodArguments
): {
getComputedStyleForNode(params: inspectorCommandTypes.CSSDomain.GetComputedStyleForNodeMethodArguments): {
computedStyle: inspectorCommandTypes.CSSDomain.CSSComputedStyleProperty[];
} {
return {