Update tslint rules

This commit is contained in:
Carl Foster
2018-03-10 13:05:28 +10:00
parent 6a74caff79
commit 0c8427bca4
3 changed files with 467 additions and 471 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,9 @@
import * as StellarSdk from 'stellar-sdk'
import * as StellarSdk from 'stellar-sdk';
const sourceKey = StellarSdk.Keypair.random() // $ExpectType Keypair
const destKey = StellarSdk.Keypair.random()
const account = new StellarSdk.Account(sourceKey.publicKey(), 1)
const sourceKey = StellarSdk.Keypair.random(); // $ExpectType Keypair
const destKey = StellarSdk.Keypair.random();
const account = new StellarSdk.Account(sourceKey.publicKey(), 1);
const transaction = new StellarSdk.TransactionBuilder(account)
.addOperation(StellarSdk.Operation.accountMerge({destination: destKey.publicKey()}))
.build() // $ExpectType () => Transaction
transaction // $ExpectType Transaction
.build(); // $ExpectType () => Transaction
transaction; // $ExpectType Transaction

View File

@@ -1,7 +1,3 @@
{
"extends": "dtslint/dt.json",
"rules": {
"quotemark": [true, "single"],
"semicolon": [true, "never"]
}
"extends": "dtslint/dt.json"
}