Skip to content

Commit 283930a

Browse files
Fix types: make validateOnly optional also in alterConfigs()
1 parent 55b0b41 commit 283930a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ export type Admin = {
533533
resources: ResourceConfigQuery[]
534534
includeSynonyms: boolean
535535
}): Promise<DescribeConfigResponse>
536-
alterConfigs(configs: { validateOnly: boolean; resources: IResourceConfig[] }): Promise<any>
536+
alterConfigs(configs: { validateOnly?: boolean; resources: IResourceConfig[] }): Promise<any>
537537
listGroups(): Promise<{ groups: GroupOverview[] }>
538538
deleteGroups(groupIds: string[]): Promise<DeleteGroupsResult[]>
539539
describeGroups(groupIds: string[]): Promise<GroupDescriptions>

0 commit comments

Comments
 (0)