Using dot notation in property names will create interfaces with nested properties, but the nested enums will not be typed correctly.
For example, for event with the following properties:
enum → enum [“foo”, “bar”]
nested.string → string
nested.number → number
nested.enum → enum [“foo”, “bar”]
Ampli will generate a following interface:
enum: "foo" | "bar";
[k: string]: any;
- The documentation on property types is missing or outdated
- There’s no public repository for Ampli where issue like this or pull request could be created
- Is community forums really the best solution for reporting technical issues?
Best answer by Denis HolmesView original