Skip to content

Commit 2fbd2d8

Browse files
js2mesvolkov
authored andcommitted
fix incorrect working --route-types with --modular option (#207)
* chore: try to fix modular route types problem * fix: --route-types with --modular option; fix: better format namespace name (--route-types)
1 parent 3bc759f commit 2fbd2d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const constants = require("./constants");
2020
const { generateOutputFiles } = require("./output");
2121
const formatFileContent = require("./formatFileContent");
2222

23+
const { SCHEMA_TYPES } = constants;
24+
2325
module.exports = {
2426
constants: constants,
2527
generateApi: ({

0 commit comments

Comments
 (0)