Fix type guard for isWhitespaceString and isEmptyStringOrWhitespace (#207)

This commit is contained in:
Martin Eneqvist 2024-06-26 14:31:56 +02:00 committed by GitHub
parent 8cbcaee674
commit 25a376875d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 4 deletions

View file

@ -73,3 +73,5 @@ export type NodeStream = {
export type Predicate = (value: unknown) => boolean;
export type NonEmptyString = string & {0: string};
export type Whitespace = ' ';