Skip to content

Commit

Permalink
fix: build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
sandstone991 committed Apr 16, 2024
1 parent fd6cff3 commit fc63509
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nilefy-json-to-ts",
"version": "1.8.4",
"version": "1.8.5",
"description": "This is the fork of the original json-to-ts package, modified to fit in Nilefy",
"keywords": [
"typescript",
Expand Down
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { getTypeStructure, optimizeTypeStructure } from "./get-type-structure";
import { Options } from "./model";
import {
getInterfaceDescriptions,
getTypeStringFromDescription
} from "./get-interfaces";
import { getNames } from "./get-names";
import { isArray, isObject } from "./util";
import { Options } from "./model";

export default function jsonToTs(json: any, userOptions?: Options): string[] {
const defaultOptions: Options = {
Expand Down Expand Up @@ -44,6 +44,5 @@ export default function jsonToTs(json: any, userOptions?: Options): string[] {
);
}
export {
Options,
jsonToTs
}
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
"ESNext",
"DOM"
],
"moduleResolution": "Node",
"strict": false,
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"noEmit": true,
"moduleResolution": "Bundler",
"forceConsistentCasingInFileNames": true,
"types": [
"vite/client",
Expand Down

0 comments on commit fc63509

Please sign in to comment.