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

Commit af302cb

Browse files
2007heavennchevobbe
authored andcommitted
Fix getFullText promise return type
1 parent b86c0f7 commit af302cb

File tree

1 file changed

+1
-1
lines changed
  • packages/devtools-reps/src/object-inspector/utils

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function getPrototype(
8484
async function getFullText(
8585
longStringClient: LongStringClient,
8686
object: NodeContents,
87-
) : Promise<?Object> {
87+
) : Promise<{fullText?: string}> {
8888
const { initial, length } = object;
8989

9090
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)