Make all keys string

This commit is contained in:
RMidhunSuresh 2022-02-22 11:48:02 +05:30
parent 92e8fc8ad3
commit 646cbe0fff

View File

@ -19,20 +19,20 @@ import {URLRouter} from "./URLRouter.js";
import type { Path } from "./Navigation"; import type { Path } from "./Navigation";
type SegmentType = { type SegmentType = {
login: true; "login": true;
session: string; "session": string;
sso: string; "sso": string;
logout: true; "logout": true;
room: string; "room": string;
rooms: string[]; "rooms": string[];
settings: true; "settings": true;
"create-room": true; "create-room": true;
"empty-grid-tile": number; "empty-grid-tile": number;
lightbox: string; "lightbox": string;
"right-panel": true; "right-panel": true;
details: true; "details": true;
members: true; "members": true;
member: string; "member": string;
}; };
export function createNavigation() { export function createNavigation() {