Type 'IDistribution' is missing the following properties from type 'Distribution': domainName, defaultBehavior .... #21733
Unanswered
dev-samples
asked this question in
Q&A
Replies: 1 comment
-
Did you figure this one out? I am having the same problem |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to import an existing distribution with:
where:
but it gives this error:
Type 'IDistribution' is missing the following properties from type 'Distribution': domainName, defaultBehavior, additionalBehaviors, boundOrigins, and 19 more.
But the - existing - distribution already has default behavior, domainName, etc. It seems that
fromDistributionAttributes
actually tries to create a new distribution instead or importing the existing one.What am I missing??
Beta Was this translation helpful? Give feedback.
All reactions