fix(router): Update types for TypeScript nullability support
This reverts commit ea8ffc9841
.
This commit is contained in:

committed by
Tobias Bosch

parent
ec028b8109
commit
bc431888f3
@ -164,7 +164,7 @@ function createPositionApplyingDoubleDots(
|
||||
let dd = numberOfDoubleDots;
|
||||
while (dd > ci) {
|
||||
dd -= ci;
|
||||
g = g.parent;
|
||||
g = g.parent !;
|
||||
if (!g) {
|
||||
throw new Error('Invalid number of \'../\'');
|
||||
}
|
||||
|
Reference in New Issue
Block a user