mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
fix: linter & tests
This commit is contained in:
Vendored
+1
-1
@@ -7,7 +7,7 @@
|
||||
// Timur Ramazanov <https://github.com/charlie-wasp>
|
||||
// Kalvis Kalniņš <https://github.com/Akuukis>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
// TypeScript Version: 2.9
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
|
||||
@@ -6,8 +6,7 @@ const account = new StellarSdk.Account(sourceKey.publicKey(), '1');
|
||||
const transaction = new StellarSdk.TransactionBuilder(account)
|
||||
.addOperation(StellarSdk.Operation.accountMerge({destination: destKey.publicKey()}))
|
||||
.addMemo(new StellarSdk.Memo(StellarSdk.MemoText, "memo"))
|
||||
.build(); // $ExpectType () => Transaction
|
||||
transaction; // $ExpectType Transaction
|
||||
.build(); // $ExpectType () => Transaction<AnyType, TransactionOperation[]>
|
||||
|
||||
StellarSdk.StellarTomlResolver.resolve("example.com", {allowHttp: true, timeout: 100})
|
||||
.then(toml => toml.FEDERATION_SERVER);
|
||||
|
||||
Reference in New Issue
Block a user