diff --git a/simple-xml/index.d.ts b/simple-xml/index.d.ts new file mode 100644 index 0000000000..2a7e3ceb47 --- /dev/null +++ b/simple-xml/index.d.ts @@ -0,0 +1,12 @@ +// Type definitions for simple-xml 0.10 +// Project: https://github.com/AirAsiaExpedia/node-simple-xml +// Definitions by: Vitaliy Isikov +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + + +declare namespace simple.xml { + export function stringify(obj: {}): string; + export function parse(data: string): {}; +} + +export = simple.xml; diff --git a/simple-xml/simple-xml-tests.ts b/simple-xml/simple-xml-tests.ts new file mode 100644 index 0000000000..e69de29bb2 diff --git a/simple-xml/tsconfig.json b/simple-xml/tsconfig.json new file mode 100644 index 0000000000..b88c5e7af7 --- /dev/null +++ b/simple-xml/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "simple-xml-tests.ts" + ] +} diff --git a/simple-xml/tslint.json b/simple-xml/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/simple-xml/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" }