-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add isLiteralExpressionValue utility
- Loading branch information
1 parent
81f9c69
commit 9748dfe
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@tsxmod/utils': minor | ||
--- | ||
|
||
Adds `isLiteralExpressionValue` utility to help determine if a literal expression value was resolved or not since `undefined` is a valid value. | ||
|
||
```ts | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export { | ||
resolveLiteralExpression, | ||
isLiteralExpressionValue, | ||
type LiteralExpressionValue, | ||
} from './resolveLiteralExpression' | ||
export { resolveObjectLiteralExpression } from './resolveObjectLiteralExpression' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters