Type alias PathSegment

PathSegment: string | number

Represents a path segment, when representing paths as arrays.

For example, ['products', 0, 'price.usd'], which equals the string path products.0.price&.usd.