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);