add dot-prop

This commit is contained in:
Sam Verschueren
2016-01-13 08:51:58 +01:00
parent 1984ea435f
commit 8b515b2363
2 changed files with 21 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for dot-prop
// Project: https://github.com/sindresorhus/dot-prop
// Definitions by: Sam Verschueren <https://github.com/samverschueren>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "dot-prop" {
export function get(object: any, path: string): any;
export function set(object: any, path: string, value: any): void;
}