Open
Description
Expected behavior and actual behavior
The project has a file, where is the wrong typing (group field) subject to the use of this model in this file (toTransactionStatus method). It says that the field must be of type enum, but in fact it is one of the enum values
Steps to reproduce the problem
import { RepositoryFactoryHttp } from 'symbol-sdk'
const repositoryFactory = new RepositoryFactoryHttp('http://wolf.importance.jp:3000')
const transactionStatusRepository = repositoryFactory.createTransactionStatusRepository()
transactionStatusRepository.getTransactionStatus('30F03BB1E2D422C19E1DEBFFB21C046EF8CD9FB32F5FF7C1A9235792162D20B1').subscribe(transactionStatus => {
console.log(transactionStatus.group) // check console value and type in TS
})
Specifications like the version of the project, operating system, or hardware
- sdk version: 1.0.2
Metadata
Metadata
Assignees
Labels
No labels