Skip to content

Commit f3f0288

Browse files
authored
Fix statusString typedef (#1724)
1 parent 85f881e commit f3f0288

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changeset/clean-ants-invite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@onflow/typedefs": patch
3+
---
4+
5+
Fix statusString typedef

packages/typedefs/src/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/**
32
* @typedef {object} Account
43
* @property {string} address - The address of the account
@@ -103,7 +102,7 @@
103102
* @typedef {object} TransactionStatus
104103
* @property {string} blockId - The ID of the Block the transaction is included in.
105104
* @property {number} status - The status code of the transaction.
106-
* @property {number} statusString - The status as as descriptive text (e.g. "FINALIZED").
105+
* @property {string} statusString - The status as as descriptive text (e.g. "FINALIZED").
107106
* @property {string} errorMessage - The error message of the transaction.
108107
* @property {Array<Event>} events - The events for this result.
109108
*/
@@ -115,4 +114,4 @@
115114
*/
116115

117116
// Needed for bundler to export this file
118-
exports.unused = {};
117+
exports.unused = {}

0 commit comments

Comments
 (0)