Type function

This commit is contained in:
RMidhunSuresh 2022-02-22 11:51:30 +05:30
parent bf2fb52691
commit d9bfca10e1

View file

@ -35,7 +35,7 @@ type SegmentType = {
"member": string;
};
export function createNavigation() {
export function createNavigation(): Navigation<SegmentType> {
return new Navigation(allowsChild);
}