Merge branch next into add-pie-langium-parser

This commit is contained in:
Reda Al Sulais
2024-01-25 14:56:34 +03:00
79 changed files with 1888 additions and 593 deletions

View File

@@ -1,2 +1,11 @@
import type { AstNode } from 'langium';
export * from './language/index.js';
export * from './parse.js';
/**
* Exclude/omit all `AstNode` attributes recursively.
*/
export type RecursiveAstOmit<T> = T extends object
? { [P in keyof T as Exclude<P, keyof AstNode>]: RecursiveAstOmit<T[P]> }
: T;