From 656e41473c305fe72bb338d90892656f6681e2d3 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 22 Jan 2019 20:49:50 +0200 Subject: [PATCH] typescript(translucid): fixed the bug Signed-off-by: prescientmoon --- typescript/translucid/Translucid.js | 1 + typescript/translucid/Translucid.ts | 1 + typescript/translucid/test.js | 4 ++++ typescript/translucid/test.ts | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 typescript/translucid/test.js create mode 100644 typescript/translucid/test.ts diff --git a/typescript/translucid/Translucid.js b/typescript/translucid/Translucid.js index 1e6eb78..064f4cf 100644 --- a/typescript/translucid/Translucid.js +++ b/typescript/translucid/Translucid.js @@ -51,3 +51,4 @@ class Translucid { }); } } +exports.Translucid = Translucid; diff --git a/typescript/translucid/Translucid.ts b/typescript/translucid/Translucid.ts index 2bc3ec6..dfcd98a 100644 --- a/typescript/translucid/Translucid.ts +++ b/typescript/translucid/Translucid.ts @@ -60,3 +60,4 @@ class Translucid { }); } } +export {Translucid}; diff --git a/typescript/translucid/test.js b/typescript/translucid/test.js new file mode 100644 index 0000000..402b2b2 --- /dev/null +++ b/typescript/translucid/test.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const app_js_1 = require("./app.js"); +const { app, http, translucid } = app_js_1.QuickServer(8000); diff --git a/typescript/translucid/test.ts b/typescript/translucid/test.ts new file mode 100644 index 0000000..89940f3 --- /dev/null +++ b/typescript/translucid/test.ts @@ -0,0 +1,3 @@ +import {QuickServer} from "./app.js"; + +const {app,http,translucid} = QuickServer(8000);