UNPKG

langium

Version:

A language engineering tool for the Language Server Protocol

11 lines 838 B
/****************************************************************************** * Copyright 2022 TypeFox GmbH * This program and the accompanying materials are made available under the * terms of the MIT License, which is available in the project root. ******************************************************************************/ import type { Interface, Type, TypeDefinition } from '../../../languages/generated/ast.js'; import type { LangiumCoreServices } from '../../../index.js'; import type { PlainAstTypes, PlainPropertyType } from './plain-types.js'; export declare function collectDeclaredTypes(interfaces: Interface[], unions: Type[], services?: LangiumCoreServices): PlainAstTypes; export declare function typeDefinitionToPropertyType(type: TypeDefinition): PlainPropertyType; //# sourceMappingURL=declared-types.d.ts.map