Change type guard for whitespace from string to ' '

Closes #206
This commit is contained in:
Martin Eneqvist 2024-05-22 16:41:11 +02:00
parent 47f49741ea
commit 5301915f32
3 changed files with 14 additions and 4 deletions

View file

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