Closed Mearman closed 3 months ago
From the docs it doesn't look like it's currently possible to generate a type with "format": "uri-reference" Handling URL type works perfectly, but my use case needs a relative URI.
"format": "uri-reference"
URL
Happy to review a pull request for this request.
hey @Mearman, you can do the following:
/** @format uri-reference */ export type URI = string
Discovered that after. Thank you.
From the docs it doesn't look like it's currently possible to generate a type with
"format": "uri-reference"
HandlingURL
type works perfectly, but my use case needs a relative URI.