jovotech / jovo-cli

🛠 Command Line Interface for the Jovo Framework: Makes voice experience deployment a breeze, including features like local development and staging.
https://www.jovo.tech/marketplace/jovo-cli
Apache License 2.0
57 stars 31 forks source link

:label: updated type #354

Closed sadlowskij closed 1 year ago

sadlowskij commented 1 year ago

Proposed changes

Type '{ name: PermissionName; }[]' is not assignable to type 'Files'.

When trying to build my AlexaCliConfig in a TS file, TS won't let me assign arrays to properties, where arrays are needed, like files['skill-package/skill.json'].manifes.permissions. It can still be used though and works, if you just ignore the issue (like mostly done in .js project files).

Types of changes

Checklist