Fix code issues and improve maintainability
1. Fix syntax error in tsconfig.json by removing trailing comma 2. Rename confusing function isAbsoluteModule2 to createModuloChecker 3. Update Whitespace type definition to be more accurate
This commit is contained in:
parent
ef35cc350a
commit
1aef825c46
3 changed files with 5 additions and 5 deletions
|
|
@ -74,4 +74,4 @@ export type Predicate = (value: unknown) => boolean;
|
|||
|
||||
export type NonEmptyString = string & {0: string};
|
||||
|
||||
export type Whitespace = ' ';
|
||||
export type Whitespace = string & {_whitespace: true}; // String containing only whitespace characters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue