-import { tokenizePath, TokenType } from '../../src/matcher/path-tokenizer'
-import { tokensToParser } from '../../src/matcher/path-parser-ranker'
+import { tokenizePath, TokenType } from '../../src/matcher/pathTokenizer'
+import { tokensToParser } from '../../src/matcher/pathParserRanker'
describe('Path parser', () => {
describe('tokenizer', () => {
-import { tokenizePath } from '../../src/matcher/path-tokenizer'
+import { tokenizePath } from '../../src/matcher/pathTokenizer'
import {
tokensToParser,
comparePathParserScore,
-} from '../../src/matcher/path-parser-ranker'
+} from '../../src/matcher/pathParserRanker'
type PathParserOptions = Parameters<typeof tokensToParser>[1]
RouteRecordName,
} from '../types'
import { createRouterError, ErrorTypes, MatcherError } from '../errors'
-import { createRouteRecordMatcher, RouteRecordMatcher } from './path-matcher'
+import { createRouteRecordMatcher, RouteRecordMatcher } from './pathMatcher'
import { RouteRecordRedirect, RouteRecordNormalized } from './types'
import {
PathParams,
comparePathParserScore,
PathParserOptions,
-} from './path-parser-ranker'
+} from './pathParserRanker'
let noop = () => {}
tokensToParser,
PathParser,
PathParserOptions,
-} from './path-parser-ranker'
-import { tokenizePath } from './path-tokenizer'
+} from './pathParserRanker'
+import { tokenizePath } from './pathTokenizer'
export interface RouteRecordMatcher extends PathParser {
record: RouteRecord
-import { Token, TokenType } from './path-tokenizer'
+import { Token, TokenType } from './pathTokenizer'
export type PathParams = Record<string, string | string[]>
import { LocationQuery, LocationQueryRaw } from '../utils/query'
-import { PathParserOptions } from '../matcher/path-parser-ranker'
+import { PathParserOptions } from '../matcher/pathParserRanker'
import { markRaw, Ref, ComputedRef, ComponentOptions } from 'vue'
import { RouteRecord, RouteRecordNormalized } from '../matcher/types'
import { HistoryState } from '../history/common'
): any
}
-export * from './type-guards'
+export * from './typeGuards'
export type Mutable<T> = {
-readonly [P in keyof T]: T[P]