Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

HttpUrlFromString

HttpUrlFromString: t.Type<typeof HttpsUrlFromString>

HttpsUrlFromString

HttpsUrlFromString: t.Type<typeof HttpsUrlFromString>

UrlFromString

UrlFromString: t.TypeOf<typeof UrlFromString>

ValidUrl

ValidUrl: url.Url & { href: string }

Variables

Const HttpUrlFromString

HttpUrlFromString: RefinementC<Type<ValidUrl, string, unknown>> = ...

Const HttpsUrlFromString

HttpsUrlFromString: RefinementC<Type<ValidUrl, string, unknown>> = ...

Const UrlFromString

UrlFromString: Type<ValidUrl, string, unknown> = ...

io-ts type that decodes a Url from a string

ie. UrlFromString.decode("http://example.com")

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Enumeration
  • Class with type parameter

Generated using TypeDoc