@@ -48,43 +48,43 @@ ens.getResolver('name', (error: Error, contract: Contract) => {});
4848// $ExpectType Promise<Contract>
4949ens . getResolver ( 'name' , ( value : any ) => { } ) ;
5050
51- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
51+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
5252ens . setResolver ( 'name' , '0x0...' ) ;
53- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
53+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
5454ens . setResolver ( 'name' , '0x0...' , { } ) ;
55- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
55+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
5656ens . setResolver ( 'name' , '0x0...' , { } , ( error : Error , receipt : TransactionReceipt ) => { } ) ;
5757
58- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
58+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
5959ens . setSubnodeOwner ( 'name' , 'label' , '0x...' ) ;
60- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
60+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
6161ens . setSubnodeOwner ( 'name' , 'label' , '0x...' , { } ) ;
62- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
62+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
6363ens . setSubnodeOwner ( 'name' , 'label' , '0x...' , { } , ( error : Error , receipt : TransactionReceipt ) => { } ) ;
6464
65- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
65+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
6666ens . setRecord ( 'name' , 'owner' , 'resolver' , '100000' ) ;
67- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
67+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
6868ens . setRecord ( 'name' , 'owner' , 'resolver' , 100000 ) ;
69- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
69+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
7070ens . setRecord ( 'name' , 'owner' , 'resolver' , 100000 , { } ) ;
71- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
71+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
7272ens . setRecord ( 'name' , 'owner' , 'resolver' , 100000 , { } , ( error : Error , receipt : TransactionReceipt ) => { } ) ;
7373
74- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
74+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
7575ens . setSubnodeRecord ( 'name' , 'label' , 'owner' , 'resolver' , '100000' ) ;
76- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
76+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
7777ens . setSubnodeRecord ( 'name' , 'label' , 'owner' , 'resolver' , 100000 ) ;
78- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
78+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
7979ens . setSubnodeRecord ( 'name' , 'label' , 'owner' , 'resolver' , 100000 , { } ) ;
80- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
80+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
8181ens . setSubnodeRecord ( 'name' , 'label' , 'owner' , 'resolver' , 100000 , { } , ( error : Error , receipt : TransactionReceipt ) => { } ) ;
8282
83- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
83+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
8484ens . setApprovalForAll ( 'name' , true ) ;
85- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
85+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
8686ens . setApprovalForAll ( 'name' , false , { } ) ;
87- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
87+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
8888ens . setApprovalForAll ( 'name' , true , { } , ( error : Error , receipt : TransactionReceipt ) => { } ) ;
8989
9090// $ExpectType Promise<boolean>
@@ -108,11 +108,11 @@ ens.getTTL('name', (error: Error, ttl: string) => {});
108108// $ExpectType Promise<string>
109109ens . getTTL ( 'name' , ( value : any ) => { } ) ;
110110
111- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
111+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
112112ens . setTTL ( 'name' , 10000 ) ;
113- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
113+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
114114ens . setTTL ( 'name' , 10000 , { } ) ;
115- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
115+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
116116ens . setTTL ( 'name' , '0xa' , { } , ( error : Error | TransactionRevertInstructionError , receipt : TransactionReceipt ) => { } ) ;
117117
118118// $ExpectType Promise<string>
@@ -122,11 +122,11 @@ ens.getOwner('name', (value: any) => {});
122122// $ExpectType Promise<string>
123123ens . getOwner ( 'name' , ( error : Error , owner : string ) => { } ) ;
124124
125- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
125+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
126126ens . setOwner ( 'name' , '0x...' ) ;
127- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
127+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
128128ens . setOwner ( 'name' , '0x...' , { } ) ;
129- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
129+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
130130ens . setOwner ( 'name' , '0x...' , { } , ( error : Error | TransactionRevertInstructionError , receipt : TransactionReceipt ) => { } ) ;
131131
132132// $ExpectType Promise<boolean>
@@ -151,11 +151,11 @@ ens.getAddress('name', (error: Error, address: string) => {});
151151// $ExpectType Promise<string>
152152ens . getAddress ( 'name' , ( value : any ) => { } ) ;
153153
154- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
154+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
155155ens . setAddress ( 'name' , 'address' ) ;
156- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
156+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
157157ens . setAddress ( 'name' , 'address' , { } ) ;
158- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
158+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
159159ens . setAddress ( 'name' , 'address' , { } , ( error : Error , result : any ) => { } ) ;
160160
161161// $ExpectType Promise<{ [x: string]: string; }>
@@ -165,11 +165,11 @@ ens.getPubkey('name', (error: Error, result: { [x: string]: string }) => {});
165165// $ExpectType Promise<{ [x: string]: string; }>
166166ens . getPubkey ( 'name' , ( value : any ) => { } ) ;
167167
168- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
168+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
169169ens . setPubkey ( 'name' , 'x' , 'y' ) ;
170- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
170+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
171171ens . setPubkey ( 'name' , 'x' , 'y' , { } ) ;
172- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
172+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
173173ens . setPubkey ( 'name' , 'x' , 'y' , { } , ( error : Error , result : any ) => { } ) ;
174174
175175// $ExpectType Promise<string>
@@ -179,11 +179,11 @@ ens.getText('name', 'key', (error: Error, ensName: string) => {});
179179// $ExpectType Promise<string>
180180ens . getText ( 'name' , 'key' , ( value : any ) => { } ) ;
181181
182- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
182+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
183183ens . setText ( 'name' , 'key' , 'value' ) ;
184- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
184+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
185185ens . setText ( 'name' , 'key' , 'value' , { } ) ;
186- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
186+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
187187ens . setText ( 'name' , 'key' , 'value' , { } , ( error : Error , result : any ) => { } ) ;
188188
189189// $ExpectType Promise<string>
@@ -193,11 +193,11 @@ ens.getContent('name', (error: Error, contentHash: string) => {});
193193// $ExpectType Promise<string>
194194ens . getContent ( 'name' , ( value : any ) => { } ) ;
195195
196- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
196+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
197197ens . setContent ( 'name' , 'hash' ) ;
198- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
198+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
199199ens . setContent ( 'name' , 'hash' , { } ) ;
200- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
200+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
201201ens . setContent ( 'name' , 'hash' , { } , ( error : Error , result : any ) => { } ) ;
202202
203203// $ExpectType Promise<string>
@@ -207,11 +207,11 @@ ens.getMultihash('name', (error: Error, multihash: string) => {});
207207// $ExpectType Promise<string>
208208ens . getMultihash ( 'name' , ( value : any ) => { } ) ;
209209
210- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
210+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
211211ens . setMultihash ( 'name' , 'hash' ) ;
212- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
212+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
213213ens . setMultihash ( 'name' , 'hash' , { } , ( error : Error , result : any ) => { } ) ;
214- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
214+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
215215ens . setMultihash ( 'name' , 'hash' , { } ) ;
216216
217217// $ExpectType Promise<ContentHash>
@@ -221,9 +221,9 @@ ens.getContenthash('name', (error: Error, contenthash: ContentHash) => {});
221221// $ExpectType Promise<ContentHash>
222222ens . getContenthash ( 'name' , ( value : ContentHash ) => { } ) ;
223223
224- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
224+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
225225ens . setContenthash ( 'name' , 'hash' ) ;
226- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
226+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
227227ens . setContenthash ( 'name' , 'hash' , { } ) ;
228- // $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError >
228+ // $ExpectType PromiEvent<TransactionRevertInstructionError | TransactionReceipt >
229229ens . setContenthash ( 'name' , 'hash' , { } , ( error : Error , result : any ) => { } ) ;
0 commit comments