( fullPath: string, )
| 509 | } |
| 510 | |
| 511 | function createStaticNode<T extends RouteLike>( |
| 512 | fullPath: string, |
| 513 | ): StaticSegmentNode<T> { |
| 514 | return { |
| 515 | kind: SEGMENT_TYPE_PATHNAME, |
| 516 | depth: 0, |
| 517 | pathless: null, |
| 518 | index: null, |
| 519 | static: null, |
| 520 | staticInsensitive: null, |
| 521 | dynamic: null, |
| 522 | optional: null, |
| 523 | wildcard: null, |
| 524 | route: null, |
| 525 | fullPath, |
| 526 | parent: null, |
| 527 | parse: null, |
| 528 | skipOnParamError: false, |
| 529 | parsingPriority: 0, |
| 530 | } |
| 531 | } |
| 532 | |
| 533 | /** |
| 534 | * Keys must be declared in the same order as in `SegmentNode` type, |
no outgoing calls
no test coverage detected