From bec36516c2493b97f00fa3531b99c19ba0334654 Mon Sep 17 00:00:00 2001 From: segayuu Date: Thu, 14 Sep 2017 13:48:44 +0900 Subject: [PATCH] Added typed "hexo-bunyan". --- types/hexo-bunyan/index.d.ts | 8 ++++++++ types/hexo-bunyan/tsconfig.json | 21 +++++++++++++++++++++ types/hexo-bunyan/tslint.json | 1 + 3 files changed, 30 insertions(+) create mode 100644 types/hexo-bunyan/index.d.ts create mode 100644 types/hexo-bunyan/tsconfig.json create mode 100644 types/hexo-bunyan/tslint.json diff --git a/types/hexo-bunyan/index.d.ts b/types/hexo-bunyan/index.d.ts new file mode 100644 index 0000000000..fb39ec6684 --- /dev/null +++ b/types/hexo-bunyan/index.d.ts @@ -0,0 +1,8 @@ +// Type definitions for hexo-bunyan 1.0 +// Project: https://github.com/trentm/node-bunyan#readme +// Definitions by: segayuu +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +import bunyan = require("bunyan"); + +export = bunyan; diff --git a/types/hexo-bunyan/tsconfig.json b/types/hexo-bunyan/tsconfig.json new file mode 100644 index 0000000000..a2cbd4e379 --- /dev/null +++ b/types/hexo-bunyan/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts" + ] +} diff --git a/types/hexo-bunyan/tslint.json b/types/hexo-bunyan/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/hexo-bunyan/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" }