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.16 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.16 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.15 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.15 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.14 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.14 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.13 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.13 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.12 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.12 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.11 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.11 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.10 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.10 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.9 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.9 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.8 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.8 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts
clapton-0.0.7 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.ts
clapton-0.0.7 lib/clapton/javascripts/node_modules/msw/lib/core/utils/request/toPublicUrl.d.mts