diff --git a/packages/generator-reshow/generators/npm/templates/lib-src/index.js b/packages/generator-reshow/generators/npm/templates/lib-src/index.js index 51fda5de..ee52ac56 100755 --- a/packages/generator-reshow/generators/npm/templates/lib-src/index.js +++ b/packages/generator-reshow/generators/npm/templates/lib-src/index.js @@ -1,2 +1,3 @@ +// @ts-check export { default as Index } from "./lib"; diff --git a/packages/generator-reshow/generators/npm/templates/src/index.js b/packages/generator-reshow/generators/npm/templates/src/index.js index b369cfad..be943f9c 100755 --- a/packages/generator-reshow/generators/npm/templates/src/index.js +++ b/packages/generator-reshow/generators/npm/templates/src/index.js @@ -1,5 +1,7 @@ #!/usr/bin/env node +// @ts-check + const { init } = require("./init"); init(); diff --git a/packages/generator-reshow/generators/npm/templates/ui-src/index.js b/packages/generator-reshow/generators/npm/templates/ui-src/index.js index c00d841f..030d9877 100755 --- a/packages/generator-reshow/generators/npm/templates/ui-src/index.js +++ b/packages/generator-reshow/generators/npm/templates/ui-src/index.js @@ -1,2 +1,3 @@ +// @ts-check export { default as Index } from "./ui/pages/Index"; diff --git a/packages/generator-reshow/package.json b/packages/generator-reshow/package.json index 7758bcd2..2986218d 100644 --- a/packages/generator-reshow/package.json +++ b/packages/generator-reshow/package.json @@ -1,5 +1,5 @@ { - "version": "0.17.81", + "version": "0.17.82", "name": "generator-reshow", "repository": { "type": "git",