@kwayteow/utils - v0.6.0
    Preparing search index...

    Interface BuildUrlOptions

    构建 URL 的选项

    interface BuildUrlOptions {
        baseUrl: string;
        hash?: string;
        params?: Record<string, undefined | null | string | number | boolean>;
        path?: string;
    }
    Index

    Properties

    baseUrl: string

    基础 URL

    hash?: string

    URL 的片段/哈希部分(不包含 #)

    params?: Record<string, undefined | null | string | number | boolean>

    作为对象的查询参数

    path?: string

    附加到基础 URL 的路径