diff --git a/types/camaro/camaro-tests.ts b/types/camaro/camaro-tests.ts index 4644c13a17..b99b0201c3 100644 --- a/types/camaro/camaro-tests.ts +++ b/types/camaro/camaro-tests.ts @@ -1,3 +1,3 @@ import transform = require('camaro'); -const x: Object = transform('text', { text: 'root/child'}); +const x: object = transform('text', { text: 'root/child'}); diff --git a/types/camaro/index.d.ts b/types/camaro/index.d.ts index d220b3d285..5d8b8e5bae 100644 --- a/types/camaro/index.d.ts +++ b/types/camaro/index.d.ts @@ -1,12 +1,13 @@ -// Type definitions for camaro 2.2.4 +// Type definitions for camaro 2.2 // Project: https://github.com/tuananh/camaro // Definitions by: Tuan Anh Tran // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /** - * Transform the input xml to json using the input template object + * Transform the input xml to json using the input template object. * @param input The input xml string * @param template The output template */ -declare function transform(input: string, template: Object): Object; +declare function transform(input: string, template: object): object; export = transform;