Property Access
When dealing with objects you may need to access their properties which can be done with the . operator.
- Knot
- TypeScript
knotimport { foo } from "@/constants";const propertyValue = foo.property;
knotimport { foo } from "@/constants";const propertyValue = foo.property;
tsximport { foo } from "@/constants";const propertyValue = foo.property;
tsximport { foo } from "@/constants";const propertyValue = foo.property;