forked from orbit-oss/is
Improve TypeScript type for isNonEmptyString() and isNonEmptyStringAndNotWhitespace() (#200)
This commit is contained in:
parent
f10e2caf3d
commit
0d4cf6fcc8
2 changed files with 5 additions and 2 deletions
|
|
@ -73,3 +73,5 @@ export type NodeStream = {
|
|||
} & NodeJS.EventEmitter;
|
||||
|
||||
export type Predicate = (value: unknown) => boolean;
|
||||
|
||||
export type NonEmptyString = string & {0: string};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue