path-to-regexp.d.ts 593 字节
Newer Older
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
import Vue, { VNode, CreateElement } from "vue";

/**
 * 导航标签组件
 *
 * @export
 * @interface TabPageExp
 */
export declare interface TabPageExp {
    /**
     * 
     *
     * @param {*} path
     * @param {*} [keys]
     * @param {*} [options]
     * @returns {*}
     * @memberof TabPageExp
     */
    pathToRegexp(path: any, keys?: any, options?: any): any;
}

declare module "vue/types/vue" {
    interface Vue {
        /**
         * 代码表绘制对象
         *
         * @type {CodeList}
         * @memberof Vue
         */
        $pathToRegExp: TabPageExp;
    }
}