Merge pull request #7369 from iplabs/fullname

Add typings for NodeJS library "fullname"
This commit is contained in:
Horiuchi_H
2016-01-04 13:18:00 +09:00
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
/// <reference path="./fullname.d.ts" />
import fullname = require("fullname");
fullname().then(function(name) { name === "string"; });
+11
View File
@@ -0,0 +1,11 @@
// Type definitions for fullname v2.1.0
// Project: https://www.npmjs.com/package/fullname
// Definitions by: Klaus Reimer <https://github.com/kayahr/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../es6-promise/es6-promise.d.ts" />
declare module "fullname" {
function fullname(): Promise<string>;
export = fullname;
}