Accept new baselines

This commit is contained in:
Anders Hejlsberg 2017-10-18 16:59:35 -07:00
parent a885894baa
commit e0c10853ce
2 changed files with 5 additions and 3 deletions

View file

@ -1101,7 +1101,9 @@ declare type Handlers<T> = {
[K in keyof T]: (t: T[K]) => void;
};
declare function on<T>(handlerHash: Handlers<T>): T;
declare var hashOfEmpty1: {};
declare var hashOfEmpty1: {
test: {};
};
declare var hashOfEmpty2: {
test: boolean;
};

View file

@ -1793,8 +1793,8 @@ declare function on<T>(handlerHash: Handlers<T>): T
>T : T
var hashOfEmpty1 = on({ test: () => {} }); // {}
>hashOfEmpty1 : {}
>on({ test: () => {} }) : {}
>hashOfEmpty1 : { test: {}; }
>on({ test: () => {} }) : { test: {}; }
>on : <T>(handlerHash: Handlers<T>) => T
>{ test: () => {} } : { test: () => void; }
>test : () => void