chore: generate
This commit is contained in:
parent
d5aa79c73a
commit
728e86b287
9 changed files with 1130 additions and 4373 deletions
|
|
@ -153,7 +153,8 @@ export const unsupportedSyntax = (kind: string, node: AstNode): InterpreterRunti
|
|||
[supportedSyntaxMessage],
|
||||
)
|
||||
|
||||
export const isRecord = (value: unknown): value is Record<string, unknown> => typeof value === "object" && value !== null
|
||||
export const isRecord = (value: unknown): value is Record<string, unknown> =>
|
||||
typeof value === "object" && value !== null
|
||||
|
||||
export const asNode = (value: unknown, context: string): AstNode => {
|
||||
if (!isRecord(value) || typeof value.type !== "string") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue