-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Hello,
I think something is wrong with the types for Authorization.createResource options here
export interface CreateOptionsWithParentResourceId extends BaseCreateAuthorizationResourceOptions {
parentResourceId: string;
}
export interface CreateOptionsWithParentExternalId extends BaseCreateAuthorizationResourceOptions {
parentResourceExternalId: string;
parentResourceTypeSlug: string;
}
export type CreateAuthorizationResourceOptions =
| CreateOptionsWithParentResourceId
| CreateOptionsWithParentExternalId;Both types require setting a parent resource when the doc mentioned, it is optional. Ignoring the type error will result in a successful resource creation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels