fix: updated the LiteralValue dereferencing and added some type narrowing helpers

This commit is contained in:
Kevin Nadro
2025-01-28 15:15:48 -06:00
parent c6d563f08f
commit 519041c8fa
5 changed files with 111 additions and 7 deletions

View File

@ -90,6 +90,7 @@ export type { Literal } from '../wasm-lib/kcl/bindings/Literal'
export type { LiteralValue } from '../wasm-lib/kcl/bindings/LiteralValue'
export type { ArrayExpression } from '../wasm-lib/kcl/bindings/ArrayExpression'
export type { SourceRange } from 'wasm-lib/kcl/bindings/SourceRange'
export type { NumericSuffix } from 'wasm-lib/kcl/bindings/NumericSuffix'
export type SyntaxType =
| 'Program'