Closed sadlowskij closed 1 year ago
This is kind of an extra to this as that was not enough to make it work. Using the SkillManifest type of the ask-smapi-model package this should work now:
SkillManifest
ask-smapi-model
import { v1 } from 'ask-smapi-model/index'; //... const alexaCliConfig: AlexaCliConfig = { skillId: this.config.skillId, askProfile: this.config.askProfile, locales: this.config.locales, files: { 'skill-package/skill.json': { // buildManifest with return type DeepPartial<v1.skill.Manifest.SkillManifest> manifest: this.buildManifest(), }, }, };
Maybe instead of just allowing string would it make sense to just allow any primitve types? I'm not sure, why this is so restrictive here
string
Proposed changes
This is kind of an extra to this as that was not enough to make it work. Using the
SkillManifest
type of theask-smapi-model
package this should work now:Types of changes
Checklist