mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
12 lines
303 B
TypeScript
12 lines
303 B
TypeScript
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;
|