All files index.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68  2x             2x 2x 2x                                                                                                                  
// Error types
export {
    RouteError,
    RouteNavigationAbortedError,
    RouteSelfRedirectionError,
    RouteTaskCancelledError,
    RouteTaskExecutionError
} from './error';
export { Route } from './route';
export { Router } from './router';
export {
    type RouteConfig,
    // Hook function types
    type RouteConfirmHook,
    type RouteConfirmHookResult,
    type RouteHandleHook,
    type RouteHandleResult,
    // Router Layer types
    type RouteLayerOptions,
    type RouteLayerResult,
    // Route location and config types
    type RouteLocation,
    type RouteLocationInput,
    type RouteMatcher,
    type RouteMatchResult,
    type RouteMatchType,
    // Basic data types
    type RouteMeta,
    type RouteNotifyHook,
    type RouteOptions,
    type RouteParsedConfig,
    type RouterLayerOptions,
    type RouterLinkAttributes,
    type RouterLinkProps,
    type RouterLinkResolved,
    // RouterLink types
    type RouterLinkType,
    // Router MicroApp types
    type RouterMicroApp,
    type RouterMicroAppCallback,
    type RouterMicroAppOptions,
    // Core enums
    RouterMode,
    // Router core types
    type RouterOptions,
    type RouterParsedOptions,
    type RouteState,
    RouteType,
    type RouteVerifyHook
} from './types';
 
// =================== Re-exporting deprecated types ===================
 
import type { Router } from './router';
import type { Route, RouteLocation, RouteLocationInput } from './types';
 
/** @deprecated Use `Router` directly instead of `RouterInstance`. */
export type RouterInstance = Router;
 
/** @deprecated Use `RouteLocationInput` directly instead of `RouterRawLocation`. */
export type RouterRawLocation = RouteLocationInput;
 
/** @deprecated Use `RouteLocation` directly instead of `RouterLocation`. */
export type RouterLocation = RouteLocation;
 
/** @deprecated Use `Route` directly instead of `RouteRecord`. */
export type RouteRecord = Route;