-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
This line should reference TemplateInner defined in line 3, but instead references Template.
Expected usage:
import { SES } from 'cloudform'
{
SesTemplate: new SES.Template({
Template: {
HtmlPart: 'String',
SubjectPart: 'String',
TemplateName: 'String',
TextPart: 'String',
},
}),
}Actual usage:
import { SES } from 'cloudform'
import { TemplateInner } from 'cloudform-types/types/ses/template'
{
SesTemplate: new SES.Template({
Template: (() => {
const template: TemplateInner = {
HtmlPart: 'String',
SubjectPart: 'String',
TemplateName: 'String',
TextPart: 'String',
}
return template as SES.Template // This cast is due to incorrect types in cloudform.
})(),
}),
}Metadata
Metadata
Assignees
Labels
No labels