From 1bbde996bd3e761eb39049da966318f81ea21f74 Mon Sep 17 00:00:00 2001 From: Tawera Manaena Date: Thu, 19 Dec 2024 15:39:14 +1300 Subject: [PATCH] fix(cogify): correct documentation --- packages/cogify/src/cogify/parsers.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cogify/src/cogify/parsers.ts b/packages/cogify/src/cogify/parsers.ts index 79262b707..42af7b161 100644 --- a/packages/cogify/src/cogify/parsers.ts +++ b/packages/cogify/src/cogify/parsers.ts @@ -5,9 +5,9 @@ import { fsa } from '@basemaps/shared'; import { Type } from 'cmd-ts'; /** - * Parse a input parameter as a URL. + * Parse an input RGBA hexstring as an RGBA object. * - * If it looks like a file path, it will be converted using `pathToFileURL`. + * Throws an error if the RGBA hexstring is invalid. **/ export const Rgba: Type = { from(str) { @@ -16,7 +16,7 @@ export const Rgba: Type = { }; /** - * Parse a input parameter as a URL. + * Parse an input parameter as a URL. * * If it looks like a file path, it will be converted using `pathToFileURL`. **/ @@ -31,7 +31,7 @@ export const Url: Type = { }; /** - * Parse a input parameter as a URL which represents a folder. + * Parse an input parameter as a URL which represents a folder. * * If it looks like a file path, it will be converted using `pathToFileURL`. * Any search parameters or hash will be removed, and a trailing slash added