Add typings for NodeJS library "fullname"

This commit is contained in:
Klaus Reimer 2015-12-28 11:09:44 +01:00
parent dc9dabe74a
commit da3e6dcb13
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,5 @@
/// <reference path="./fullname.d.ts" />
import fullname = require("fullname");
fullname().then(function(name) { name === "string"; });

11
fullname/fullname.d.ts vendored Normal file
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;
}