File tree Expand file tree Collapse file tree 9 files changed +9
-18
lines changed
Expand file tree Collapse file tree 9 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class AddNetwork implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly addNetwork : InstanceType < typeof DappDriver . Instance . Extension . pages . AddNetwork > ;
15+ private readonly addNetwork : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . addNetwork = new DappDriver . Instance . Extension . pages . AddNetwork ( ) ;
@@ -58,7 +58,6 @@ export class AddNetwork implements IConfirmation {
5858 *
5959 *
6060 * @template TPage
61- * @param {* } nameOrHandle
6261 * @param {new () => TPage } page
6362 * @return {* } {Promise<TPage>}
6463 * @memberof AddNetwork
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class ApproveAll implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly approveAll : InstanceType < typeof DappDriver . Instance . Extension . pages . ApproveAll > ;
15+ private readonly approveAll : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . approveAll = new DappDriver . Instance . Extension . pages . ApproveAll ( ) ;
@@ -57,7 +57,6 @@ export class ApproveAll implements IConfirmation {
5757 *
5858 *
5959 * @template TPage
60- * @param {* } nameOrHandle
6160 * @param {new () => TPage } page
6261 * @return {* } {Promise<TPage>}
6362 * @memberof ApproveAll
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { DappDriver } from '../../session/dapp-driver';
55export class Approve implements IConfirmation {
66 public url : string | RegExp ;
77 public title : string ;
8- private readonly approve : InstanceType < typeof DappDriver . Instance . Extension . pages . Approve > ;
8+ private readonly approve : IConfirmation ;
99
1010 constructor ( ) {
1111 this . approve = new DappDriver . Instance . Extension . pages . Approve ( ) ;
@@ -51,7 +51,6 @@ export class Approve implements IConfirmation {
5151 *
5252 *
5353 * @template TPage
54- * @param {* } nameOrHandle
5554 * @param {new () => TPage } page
5655 * @return {* } {Promise<TPage>}
5756 * @memberof Approve
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class ConfirmTransaction implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly confirmTx : InstanceType < typeof DappDriver . Instance . Extension . pages . ConfirmTransaction > ;
15+ private readonly confirmTx : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . confirmTx = new DappDriver . Instance . Extension . pages . ConfirmTransaction ( ) ;
@@ -58,7 +58,6 @@ export class ConfirmTransaction implements IConfirmation {
5858 *
5959 *
6060 * @template TPage
61- * @param {* } nameOrHandle
6261 * @param {new () => TPage } page
6362 * @return {* } {Promise<TPage>}
6463 * @memberof ConfirmTransaction
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class Connect implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly connect : InstanceType < typeof DappDriver . Instance . Extension . pages . Connect > ;
15+ private readonly connect : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . connect = new DappDriver . Instance . Extension . pages . Connect ( ) ;
@@ -58,7 +58,6 @@ export class Connect implements IConfirmation {
5858 *
5959 *
6060 * @template TPage
61- * @param {* } nameOrHandle
6261 * @param {new () => TPage } page
6362 * @return {* } {Promise<TPage>}
6463 * @memberof Connect
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class Send implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly send : InstanceType < typeof DappDriver . Instance . Extension . pages . Send > ;
15+ private readonly send : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . send = new DappDriver . Instance . Extension . pages . Send ( ) ;
@@ -58,7 +58,6 @@ export class Send implements IConfirmation {
5858 *
5959 *
6060 * @template TPage
61- * @param {* } nameOrHandle
6261 * @param {new () => TPage } page
6362 * @return {* } {Promise<TPage>}
6463 * @memberof Send
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class SignInRequest implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly signInRequest : InstanceType < typeof DappDriver . Instance . Extension . pages . SignInRequest > ;
15+ private readonly signInRequest : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . signInRequest = new DappDriver . Instance . Extension . pages . SignInRequest ( ) ;
@@ -58,7 +58,6 @@ export class SignInRequest implements IConfirmation {
5858 *
5959 *
6060 * @template TPage
61- * @param {* } nameOrHandle
6261 * @param {new () => TPage } page
6362 * @return {* } {Promise<TPage>}
6463 * @memberof SignInRequest
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class SignMessage implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly signMessage : InstanceType < typeof DappDriver . Instance . Extension . pages . SignMessage > ;
15+ private readonly signMessage : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . signMessage = new DappDriver . Instance . Extension . pages . SignMessage ( ) ;
@@ -58,7 +58,6 @@ export class SignMessage implements IConfirmation {
5858 *
5959 *
6060 * @template TPage
61- * @param {* } nameOrHandle
6261 * @param {new () => TPage } page
6362 * @return {* } {Promise<TPage>}
6463 * @memberof SignMessage
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
1212export class SignatureRequest implements IConfirmation {
1313 public url : string | RegExp ;
1414 public title : string ;
15- private readonly signatureRequest : InstanceType < typeof DappDriver . Instance . Extension . pages . SignatureRequest > ;
15+ private readonly signatureRequest : IConfirmation ;
1616
1717 constructor ( ) {
1818 this . signatureRequest = new DappDriver . Instance . Extension . pages . SignatureRequest ( ) ;
@@ -57,7 +57,6 @@ export class SignatureRequest implements IConfirmation {
5757 *
5858 *
5959 * @template TPage
60- * @param {* } nameOrHandle
6160 * @param {new () => TPage } page
6261 * @return {* } {Promise<TPage>}
6362 * @memberof SignatureRequest
You can’t perform that action at this time.
0 commit comments