Skip to content

Url.functions.unsafeMake

fx-fetch


fx-fetch / Url / unsafeMake

unsafeMake(input): Url

Defined in: packages/fx-fetch/src/Url/make.ts:19

Creates an immutable Url object. Throws an error if the input is invalid.

Input

Url

import { Url } from 'fx-fetch';
const url = Url.unsafeMake('https://api.example.com');

0.1.0