mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-28 07:58:10 +08:00
Improve type definition for keymirror
This commit is contained in:
2
keymirror/index.d.ts
vendored
2
keymirror/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user