fix declaration issue

This commit is contained in:
LosslessBot
2016-05-01 14:02:48 +02:00
parent 203a31addd
commit 5de7c2517d
22 changed files with 5080 additions and 15 deletions

View File

@ -4,7 +4,7 @@ import SmartstringDocker = require("./smartstring.docker");
import SmartstringTypescript = require("./smartstring.typescript");
let smartstring = {
git : SmartstringGit,
git : SmartstringGit.git,
docker: SmartstringDocker,
typescript: SmartstringTypescript
};

View File

@ -4,7 +4,7 @@ import plugins = require("./smartstring.plugins");
/* ---------------------------------------------- *
* ------------------ classes ------------------- *
* ---------------------------------------------- */
class gitRepo {
export class gitRepo {
host:string;
user:string;
repo:string;
@ -55,9 +55,7 @@ let gitLink = function(hostArg:string, userArg:string, repoArg:string, tokenArg:
/* ---------------------------------------------- *
* ------------------ exports ------------------- *
* ---------------------------------------------- */
let git = function(stringArg:string,tokenArg?:string){
export let git = function(stringArg:string,tokenArg?:string){
let localGitRepo = new gitRepo(stringArg,tokenArg);
return localGitRepo;
};
export = git;
};