diff --git a/types.ts b/types.ts index 96a3861..29a1199 100644 --- a/types.ts +++ b/types.ts @@ -28,4 +28,9 @@ export type Posix = { } export type Base64String = `${string}` -export type UrlString = `${string}` +export type UrlString = `${ + | 'data:' + | 'file://' + | 'http://' + | 'https://' + | 'git:'}${string}`