From c34ad711717c8df439438c38a7640da6cc82c766 Mon Sep 17 00:00:00 2001 From: Dirk Gadsden Date: Sat, 10 Jun 2017 21:28:25 -0700 Subject: [PATCH] `dts-gen` template for type definitions for `hubot` --- types/hubot/hubot-tests.ts | 0 types/hubot/index.d.ts | 4 ++++ types/hubot/tsconfig.json | 22 ++++++++++++++++++++++ types/hubot/tslint.json | 1 + 4 files changed, 27 insertions(+) create mode 100644 types/hubot/hubot-tests.ts create mode 100644 types/hubot/index.d.ts create mode 100644 types/hubot/tsconfig.json create mode 100644 types/hubot/tslint.json diff --git a/types/hubot/hubot-tests.ts b/types/hubot/hubot-tests.ts new file mode 100644 index 0000000000..e69de29bb2 diff --git a/types/hubot/index.d.ts b/types/hubot/index.d.ts new file mode 100644 index 0000000000..220809d09d --- /dev/null +++ b/types/hubot/index.d.ts @@ -0,0 +1,4 @@ +// Type definitions for hubot 2.19 +// Project: https://github.com/github/hubot +// Definitions by: Dirk Gadsden +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/types/hubot/tsconfig.json b/types/hubot/tsconfig.json new file mode 100644 index 0000000000..0e3faa4c35 --- /dev/null +++ b/types/hubot/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "hubot-tests.ts" + ] +} diff --git a/types/hubot/tslint.json b/types/hubot/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/hubot/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" }