Sha256: cf96106abe99531f983a07ec3383894f0a16dd2c7929deec7919f1e53181e8ff

Contents?: true

Size: 214 Bytes

Versions: 52

Compression:

Stored size: 214 Bytes

Contents

/**
 * Returns a relative URL if the given request URL is relative
 * to the current origin. Otherwise returns an absolute URL.
 */
declare function toPublicUrl(url: string | URL): string;

export { toPublicUrl };

Version data entries

52 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.26 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.25 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.25 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.24 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.24 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.23 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.23 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.22 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.22 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.21 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.21 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.20 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.20 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.19 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.19 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.18 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.18 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.17 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.17 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts