[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / StorefrontPathParams

# Type Alias: StorefrontPathParams\<T\>

> **StorefrontPathParams**\<`T`\> = `ParamOf`\<*typeof* [`STOREFRONT_PAGE_PATHS`](../variables/STOREFRONT_PAGE_PATHS)\[`T`\]\> *extends* `never` ? `Record`\<`string`, `never`\> : `{ [K in ParamOf<typeof STOREFRONT_PAGE_PATHS[T]>]: string }`

The parameter a page type's path needs: `{ handle }` for a product, `{ slug }` for a category, page or landing page, nothing otherwise.

## Type Parameters

### T

`T` *extends* [`StorefrontPageType`](StorefrontPageType)
