diff --git a/plop-templates/store/index.hbs b/plop-templates/store/index.hbs index 6be06c7d..b3336c53 100644 --- a/plop-templates/store/index.hbs +++ b/plop-templates/store/index.hbs @@ -4,8 +4,8 @@ const use{{ properCase name }}Store = defineStore( { state: () => ({}), getters: {}, - actions: {} - } + actions: {}, + }, ) export default use{{ properCase name }}Store diff --git a/plop-templates/store/prompt.js b/plop-templates/store/prompt.js index 7e7b22a8..527bcea5 100644 --- a/plop-templates/store/prompt.js +++ b/plop-templates/store/prompt.js @@ -18,7 +18,7 @@ module.exports = { const actions = [ { type: 'add', - path: 'src/store/modules/{{camelCase name}}.js', + path: 'src/store/modules/{{camelCase name}}.ts', templateFile: 'plop-templates/store/index.hbs', }, ]