typesCommandsRouterMatcherVersion: NextOn this pageCommandsRouterMatcherCommandsRouterMatcher Matcher type for identifying command and middleware files. Can be a string suffix (e.g. '.cmd.js'), RegExp pattern, or custom matcher function. Type: string | RegExp | ( path: string ) => boolean Source