Accept new baselines
This commit is contained in:
parent
a885894baa
commit
e0c10853ce
2 changed files with 5 additions and 3 deletions
|
@ -1101,7 +1101,9 @@ declare type Handlers<T> = {
|
||||||
[K in keyof T]: (t: T[K]) => void;
|
[K in keyof T]: (t: T[K]) => void;
|
||||||
};
|
};
|
||||||
declare function on<T>(handlerHash: Handlers<T>): T;
|
declare function on<T>(handlerHash: Handlers<T>): T;
|
||||||
declare var hashOfEmpty1: {};
|
declare var hashOfEmpty1: {
|
||||||
|
test: {};
|
||||||
|
};
|
||||||
declare var hashOfEmpty2: {
|
declare var hashOfEmpty2: {
|
||||||
test: boolean;
|
test: boolean;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1793,8 +1793,8 @@ declare function on<T>(handlerHash: Handlers<T>): T
|
||||||
>T : T
|
>T : T
|
||||||
|
|
||||||
var hashOfEmpty1 = on({ test: () => {} }); // {}
|
var hashOfEmpty1 = on({ test: () => {} }); // {}
|
||||||
>hashOfEmpty1 : {}
|
>hashOfEmpty1 : { test: {}; }
|
||||||
>on({ test: () => {} }) : {}
|
>on({ test: () => {} }) : { test: {}; }
|
||||||
>on : <T>(handlerHash: Handlers<T>) => T
|
>on : <T>(handlerHash: Handlers<T>) => T
|
||||||
>{ test: () => {} } : { test: () => void; }
|
>{ test: () => {} } : { test: () => void; }
|
||||||
>test : () => void
|
>test : () => void
|
||||||
|
|
Loading…
Reference in a new issue