Merge pull request #7369 from iplabs/fullname

Add typings for NodeJS library "fullname"
This commit is contained in:
Horiuchi_H committed 2016-01-04 13:18:00 +09:00
commit 4461eb91e7
2 files changed
+16

No files matched your search

+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;
}