File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,8 +164,8 @@ namespace AsyncContext {
164
164
class Variable <T > {
165
165
constructor (options : AsyncVariableOptions <T >);
166
166
get name(): string ;
167
- run<R >(value : T , fn : (... args : any [])=> R , ... args : any []): R ;
168
167
get(): T | undefined ;
168
+ run<R >(value : T , fn : (... args : any [])=> R , ... args : any []): R ;
169
169
}
170
170
interface AsyncVariableOptions <T > {
171
171
name? : string ;
@@ -175,7 +175,7 @@ namespace AsyncContext {
175
175
class Snapshot {
176
176
constructor ();
177
177
run<R >(fn : (... args : any []) => R , ... args : any []): R ;
178
- wrap<T , R >(fn : (this : T , ... args : any []) => R ): (this : T , ... args : any []) => R ;
178
+ static wrap<T , R >(fn : (this : T , ... args : any []) => R ): (this : T , ... args : any []) => R ;
179
179
}
180
180
}
181
181
```
You can’t perform that action at this time.
0 commit comments