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:
morningstarxcdcode 2025-06-13 13:01:07 +05:30
parent ef35cc350a
commit 1aef825c46
3 changed files with 5 additions and 5 deletions

View file

@ -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