Searched refs:staticRoutes (Results 1 – 3 of 3) sorted by relevance
| /expo/packages/@expo/cli/src/start/server/type-generation/ |
| H A D | routes.ts | 57 staticRoutes.delete(route); 84 new Set([...staticRoutes.values()].flatMap((v) => Array.from(v))), 97 staticRoutes: Set<string>, 104 getTemplateString(staticRoutes, dynamicRoutes, dynamicRouteTemplates) 114 staticRoutes: Set<string>, 119 staticRoutes: setToUnionType(staticRoutes), 138 const staticRoutes = new Map<string, Set<string>>([['/', new Set('/')]]); constant 183 if (staticRoutes.has(route) || dynamicRoutes.has(route)) { 207 let set = staticRoutes.get(originalRoute); 211 staticRoutes.set(originalRoute, set); [all …]
|
| /expo/packages/@expo/cli/src/start/server/type-generation/__typetests__/ |
| H A D | generateFixtures.ts | 7 staticRoutes: string[]; 14 staticRoutes: ['/apple', '/banana'], 32 new Set(value.staticRoutes),
|
| /expo/packages/@expo/cli/src/start/server/type-generation/__tests__/ |
| H A D | routes.test.ts | 89 const { staticRoutes, dynamicRoutes, filePathToRoute, addFilePath, isRouteFile } = constant 152 staticRoutes.clear(); 216 const actualRoutes = staticRoutes.get(filePathToRoute(filepath)); 222 expect(staticRoutes.get(filePathToRoute(filepath))).toBeUndefined();
|