mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Type function
This commit is contained in:
parent
bf2fb52691
commit
d9bfca10e1
@ -35,7 +35,7 @@ type SegmentType = {
|
|||||||
"member": string;
|
"member": string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function createNavigation() {
|
export function createNavigation(): Navigation<SegmentType> {
|
||||||
return new Navigation(allowsChild);
|
return new Navigation(allowsChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user