Export types used by exported variables (#858)

Fixes TypeScript compile errors due to generating TS declaration files.

See #851
This commit is contained in:
Elliot Lee
2018-03-01 17:48:28 -08:00
committed by GitHub
parent c53db4844a
commit 144be08af0
22 changed files with 47 additions and 46 deletions

View File

@@ -2,11 +2,11 @@ import {validate, removeUndefined, dropsToXrp} from '../common'
import {RippleAPI} from '../api'
import {AccountInfoResponse} from '../common/types/commands/account_info'
type GetAccountInfoOptions = {
export type GetAccountInfoOptions = {
ledgerVersion?: number
}
type FormattedGetAccountInfoResponse = {
export type FormattedGetAccountInfoResponse = {
sequence: number,
xrpBalance: string,
ownerCount: number,