fix: export config file type

This commit is contained in:
Chen Asraf
2023-04-25 09:46:11 +03:00
committed by Chen Asraf
parent 146086869f
commit 4302eb5ce3
4 changed files with 10 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ not support non-primitives.
A `.js` file is just like a `.json` file, make sure to export the final configuration:
```js
/** @type {import('simple-scaffold').ConfigFileOptions} */
/** @type {import('simple-scaffold').ScaffoldConfigFile} */
module.exports = {
component: {
templates: ["templates/component"],
@@ -70,7 +70,7 @@ If you don't want to supply a template/config name (e.g. `component`), you can o
the name, and it will use the configuration named `default`:
```js
/** @type {import('simple-scaffold').ConfigFileOptions} */
/** @type {import('simple-scaffold').ScaffoldConfigFile} */
module.exports = {
default: {
// ...