export LedgerOptions from @daml/ledger (#14277)

Fixes #14073.

CHANGELOG_BEGIN
- [js] Type ``LedgerOptions``, the type of `new Ledger` arguments, can
  be imported by name from ``@daml/ledger``, and is included in the
  documentation.
CHANGELOG_END
This commit is contained in:
Stephen Compall 2022-06-28 09:45:01 -04:00 committed by GitHub
parent 162100a30b
commit ebe7a04191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,7 +417,7 @@ export interface Stream<T extends object, K, I extends string, State> {
/**
* Options for creating a handle to a Daml ledger.
*/
type LedgerOptions = {
export type LedgerOptions = {
/** JSON web token used for authentication. */
token: string;
/**