Skip to content

Commit d36764b

Browse files
committed
Address feedback on TSL rules for React
2 parents 7de0f6f + 5f4fa54 commit d36764b

File tree

4 files changed

+29
-28
lines changed

4 files changed

+29
-28
lines changed

packages/tsl-shared/docs/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22

33
## Type Aliases
44

5-
| Type Alias | Description |
6-
| ------ | ------ |
5+
| Type Alias | Description |
6+
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
77
| [TypeVariant](type-aliases/TypeVariant.md) | Represents the variant classification of a TypeScript type for use in strict boolean expression checking |
88

99
## Functions
1010

11-
| Function | Description |
12-
| ------ | ------ |
11+
| Function | Description |
12+
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
1313
| [getFullyQualifiedNameEx](functions/getFullyQualifiedNameEx.md) | An enhanced version of getFullyQualifiedName that handles cases that original function does not handle |
14-
| [isAnyType](functions/isAnyType.md) | Check if a type is any or a type parameter |
15-
| [isBigIntType](functions/isBigIntType.md) | Check if a type is a bigint type |
16-
| [isBooleanLiteralType](functions/isBooleanLiteralType.md) | Check if a type is a boolean literal type (true or false) |
17-
| [isBooleanType](functions/isBooleanType.md) | Check if a type is a boolean type |
18-
| [isEnumType](functions/isEnumType.md) | Check if a type is an enum type |
19-
| [isFalseLiteralType](functions/isFalseLiteralType.md) | Check if a type is the false literal type |
20-
| [isFalsyBigIntType](functions/isFalsyBigIntType.md) | Check if a type is a falsy bigint literal (0n) |
21-
| [isFalsyNumberType](functions/isFalsyNumberType.md) | Check if a type is a falsy number literal (0) |
22-
| [isFalsyStringType](functions/isFalsyStringType.md) | Check if a type is a falsy string literal ("") |
23-
| [isNeverType](functions/isNeverType.md) | Check if a type is the never type |
24-
| [isNullishType](functions/isNullishType.md) | Check if a type is nullish (null, undefined, or void) |
25-
| [isNumberType](functions/isNumberType.md) | Check if a type is a number type |
26-
| [isObjectType](functions/isObjectType.md) | Check if a type is an object type (not a primitive or special type) |
27-
| [isStringType](functions/isStringType.md) | Check if a type is a string type |
28-
| [isTrueLiteralType](functions/isTrueLiteralType.md) | Check if a type is the true literal type |
29-
| [isTruthyBigIntType](functions/isTruthyBigIntType.md) | Check if a type is a truthy bigint literal (not 0n) |
30-
| [isTruthyNumberType](functions/isTruthyNumberType.md) | Check if a type is a truthy number literal (not 0) |
31-
| [isTruthyStringType](functions/isTruthyStringType.md) | Check if a type is a truthy string literal (not "") |
32-
| [isUnknownType](functions/isUnknownType.md) | Check if a type is the unknown type |
14+
| [isAnyType](functions/isAnyType.md) | Check if a type is any or a type parameter |
15+
| [isBigIntType](functions/isBigIntType.md) | Check if a type is a bigint type |
16+
| [isBooleanLiteralType](functions/isBooleanLiteralType.md) | Check if a type is a boolean literal type (true or false) |
17+
| [isBooleanType](functions/isBooleanType.md) | Check if a type is a boolean type |
18+
| [isEnumType](functions/isEnumType.md) | Check if a type is an enum type |
19+
| [isFalseLiteralType](functions/isFalseLiteralType.md) | Check if a type is the false literal type |
20+
| [isFalsyBigIntType](functions/isFalsyBigIntType.md) | Check if a type is a falsy bigint literal (0n) |
21+
| [isFalsyNumberType](functions/isFalsyNumberType.md) | Check if a type is a falsy number literal (0) |
22+
| [isFalsyStringType](functions/isFalsyStringType.md) | Check if a type is a falsy string literal ("") |
23+
| [isNeverType](functions/isNeverType.md) | Check if a type is the never type |
24+
| [isNullishType](functions/isNullishType.md) | Check if a type is nullish (null, undefined, or void) |
25+
| [isNumberType](functions/isNumberType.md) | Check if a type is a number type |
26+
| [isObjectType](functions/isObjectType.md) | Check if a type is an object type (not a primitive or special type) |
27+
| [isStringType](functions/isStringType.md) | Check if a type is a string type |
28+
| [isTrueLiteralType](functions/isTrueLiteralType.md) | Check if a type is the true literal type |
29+
| [isTruthyBigIntType](functions/isTruthyBigIntType.md) | Check if a type is a truthy bigint literal (not 0n) |
30+
| [isTruthyNumberType](functions/isTruthyNumberType.md) | Check if a type is a truthy number literal (not 0) |
31+
| [isTruthyStringType](functions/isTruthyStringType.md) | Check if a type is a truthy string literal (not "") |
32+
| [isUnknownType](functions/isUnknownType.md) | Check if a type is the unknown type |

packages/tsl-shared/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"dedent": "^1.7.1",
3737
"tsdown": "^0.20.3",
3838
"tsl": "^1.0.29",
39+
"typescript": "*",
3940
"vitest": "^4.0.18"
4041
},
4142
"peerDependencies": {

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ overrides:
1515
"markdown-it": "^14.1.1"
1616
"tslib": "^2.8.1"
1717
"typescript": "^5.9.3"
18-
"undici": "^7.18.2"
18+
"undici": "^7.22.0"

0 commit comments

Comments
 (0)