Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 0b4d1ec

Browse files
2007heavennchevobbe
authored andcommitted
Fix flow errors
1 parent e35991c commit 0b4d1ec

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

packages/devtools-launchpad/src/client/firefox-types.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* https://wiki.mozilla.org/Remote_Debugging_Protocol
1010
*/
1111

12-
import type {RdpGrip} from "../../../devtools-reps/src/object-inspector/types";
13-
1412
type FrameId = string;
1513
type ActorId = string;
1614
type SourceId = string;

packages/devtools-reps/src/object-inspector/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class ObjectInspector extends Component {
307307
repProps.mode = MODE.TINY;
308308
}
309309

310-
repProps.showFullText = nodeIsLongString(item) && expanded;
310+
repProps.showFullText = nodeHasFullText(item) && expanded;
311311

312312
return {
313313
label,

packages/devtools-reps/src/object-inspector/utils/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type {
77
GripProperties,
88
ObjectClient,
99
PropertiesIterator,
10-
RdpGrip,
10+
NodeContents,
1111
} from "../types";
1212

1313
async function enumIndexedProperties(

packages/devtools-reps/src/reps/string.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ function maybeCropLongString(opts, text) {
9898
const {
9999
shouldCrop,
100100
cropLimit,
101-
showFullText,
102101
} = opts;
103102

104103
const {

0 commit comments

Comments
 (0)