Link Search Menu Expand Document

SemVer overview

Added in v1.0.0


Table of contents


decoders

semVerDecoder

Signature

export declare const semVerDecoder: <S extends string>() => D.Decoder<S, t.Branded<S, SemVerBrand>>

Added in v1.1.0

utils

SemVer

Signature

export declare const SemVer: t.BrandC<t.StringC, SemVerBrand>

Added in v1.0.0

SemVer (type alias)

Signature

export type SemVer = t.Branded<string, SemVerBrand>

Added in v1.0.0

SemVerBrand (interface)

Signature

export interface SemVerBrand {
  readonly SemVer: unique symbol
}

Added in v1.0.0