mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
Remove typedefs from {object_ui,network,layer_viewer,input,inline_editor}-legacy.js
Bug: 1006759 Change-Id: I617f10f94b969a49a6d24bf00ba4f24409aa6211 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2060293 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
8ef250cfe1
commit
b1f2b6cce6
@@ -370,7 +370,7 @@ export class JavaScriptAutocomplete {
|
||||
/**
|
||||
* @this {JavaScriptAutocomplete}
|
||||
* @param {!SDK.RuntimeModel.EvaluationResult} result
|
||||
* @return {!Promise<!Array<!ObjectUI.JavaScriptAutocomplete.CompletionGroup>>}
|
||||
* @return {!Promise<!Array<!CompletionGroup>>}
|
||||
*/
|
||||
async function completionsOnGlobal(result) {
|
||||
if (result.error || !!result.exceptionDetails || !result.object) {
|
||||
@@ -510,7 +510,7 @@ export class JavaScriptAutocomplete {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {?Array<!ObjectUI.JavaScriptAutocomplete.CompletionGroup>} propertyGroups
|
||||
* @param {?Array<!CompletionGroup>} propertyGroups
|
||||
* @param {boolean} dotNotation
|
||||
* @param {boolean} bracketNotation
|
||||
* @param {string} expressionString
|
||||
@@ -558,7 +558,7 @@ export class JavaScriptAutocomplete {
|
||||
* @param {boolean} bracketNotation
|
||||
* @param {string} expressionString
|
||||
* @param {string} query
|
||||
* @param {!Array<!ObjectUI.JavaScriptAutocomplete.CompletionGroup>} propertyGroups
|
||||
* @param {!Array<!CompletionGroup>} propertyGroups
|
||||
* @return {!UI.SuggestBox.Suggestions}
|
||||
*/
|
||||
_completionsForQuery(dotNotation, bracketNotation, expressionString, query, propertyGroups) {
|
||||
@@ -788,3 +788,6 @@ export class JavaScriptAutocompleteConfig {
|
||||
return tooltip;
|
||||
}
|
||||
}
|
||||
|
||||
/** @typedef {{title:(string|undefined), items:Array<string>}} */
|
||||
export let CompletionGroup;
|
||||
|
||||
Reference in New Issue
Block a user