forked from orbit-oss/is
Fix type guard for isWhitespaceString and isEmptyStringOrWhitespace (#207)
This commit is contained in:
parent
8cbcaee674
commit
25a376875d
3 changed files with 14 additions and 4 deletions
|
|
@ -73,3 +73,5 @@ export type NodeStream = {
|
|||
export type Predicate = (value: unknown) => boolean;
|
||||
|
||||
export type NonEmptyString = string & {0: string};
|
||||
|
||||
export type Whitespace = ' ';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue