Skip to content

Commit

Permalink
no need for root index file to be compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
sparebytes committed Sep 20, 2017
1 parent 9645e79 commit 8c57874
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 18 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./src/index";
16 changes: 4 additions & 12 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
var json_convert_1 = require("./src/json2typescript/json-convert");
exports.JsonConvert = json_convert_1.JsonConvert;
var json_convert_enums_1 = require("./src/json2typescript/json-convert-enums");
exports.ValueCheckingMode = json_convert_enums_1.ValueCheckingMode;
exports.OperationMode = json_convert_enums_1.OperationMode;
var json_convert_decorators_1 = require("./src/json2typescript/json-convert-decorators");
exports.JsonObject = json_convert_decorators_1.JsonObject;
exports.JsonProperty = json_convert_decorators_1.JsonProperty;
exports.JsonConverter = json_convert_decorators_1.JsonConverter;
var any_1 = require("./src/json2typescript/any");
exports.Any = any_1.Any;
//# sourceMappingURL=/Users/andreas/Documents/GIT/[email protected]/unibasel/json2typescript/index.js.map
__export(require("./src/index"));
1 change: 0 additions & 1 deletion index.js.map

This file was deleted.

5 changes: 0 additions & 5 deletions index.ts

This file was deleted.

5 changes: 5 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export { JsonConvert } from "./json2typescript/json-convert";
export { JsonCustomConvert } from "./json2typescript/json-custom-convert";
export { ValueCheckingMode, OperationMode } from "./json2typescript/json-convert-enums";
export { JsonObject, JsonProperty, JsonConverter } from "./json2typescript/json-convert-decorators";
export { Any } from "./json2typescript/any";
14 changes: 14 additions & 0 deletions src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export { JsonConvert } from "./json2typescript/json-convert";
export { JsonCustomConvert } from "./json2typescript/json-custom-convert";
export { ValueCheckingMode, OperationMode } from "./json2typescript/json-convert-enums";
export { JsonObject, JsonProperty, JsonConverter } from "./json2typescript/json-convert-decorators";
export { Any } from "./json2typescript/any";

0 comments on commit 8c57874

Please sign in to comment.