mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
fix(Operation): default to wide type
This commit is contained in:
Vendored
+1
-1
@@ -311,7 +311,7 @@ export namespace StellarBase {
|
||||
}
|
||||
type SignerOptions = SignerEd25519PublicKeyOptions | SignerSha256HashOptions | SignerPreAuthTxOptions;
|
||||
type SignerUnion = {ed25519PublicKey: any} | {sha256Hash: any} | {preAuthTx: any} | null;
|
||||
interface SetOptions<T extends SignerUnion = never> extends Operation<OperationType.setOptions> {
|
||||
interface SetOptions<T extends SignerUnion = SignerUnion> extends Operation<OperationType.setOptions> {
|
||||
inflationDest?: string;
|
||||
clearFlags?: AuthFlags;
|
||||
setFlags?: AuthFlags;
|
||||
|
||||
Reference in New Issue
Block a user