- Fix router import path in main.js - Handle Django REST Framework pagination format in API calls - Add getTemplates function to project API - Restart frontend development server
15 lines
443 B
TypeScript
15 lines
443 B
TypeScript
/**
|
|
* Generates the permutation of all possible values that {@link pathMatch} the `path` parameter.
|
|
* The array is in longest-to-shortest order. Useful when building custom {@link Store} implementations.
|
|
*
|
|
* @example
|
|
* ```
|
|
* permutePath('/foo/bar/')
|
|
* // ['/foo/bar/', '/foo/bar', '/foo', '/']
|
|
* ```
|
|
*
|
|
* @param path - the path to generate permutations for
|
|
* @public
|
|
*/
|
|
export declare function permutePath(path: string): string[];
|