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,7 +2,7 @@ import {validate} from '../common'
import parseLedger from './parse/ledger'
import {GetLedger} from './types'
type LedgerOptions = {
export type LedgerOptions = {
ledgerVersion?: number,
includeAllData?: boolean,
includeTransactions?: boolean,