Improve type definition for keymirror

This commit is contained in:
Johannes Fahrenkrug 2016-11-14 16:03:55 -05:00
parent e8ba41e4e2
commit 71ddd7d62b

View File

@ -3,5 +3,5 @@
// Definitions by: Johannes Fahrenkrug <https://github.com/jfahrenkrug>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function KeyMirror(obj: Object): Object;
declare function KeyMirror(obj: {}): { [key: string]: string };
export = KeyMirror;