diff --git a/examples/statemachine/src/language-server/statemachine-code-actions.ts b/examples/statemachine/src/language-server/statemachine-code-actions.ts index a0f28125a..97c3f9ea9 100644 --- a/examples/statemachine/src/language-server/statemachine-code-actions.ts +++ b/examples/statemachine/src/language-server/statemachine-code-actions.ts @@ -6,11 +6,11 @@ import type { AstNode, - CodeActionProvider, DiagnosticData, LangiumDocument, MaybePromise, } from 'langium'; +import type { CodeActionProvider } from 'langium/lsp'; import type { CodeActionParams, Command, diff --git a/examples/statemachine/src/language-server/statemachine-formatter.ts b/examples/statemachine/src/language-server/statemachine-formatter.ts index 5340a6eef..66755c836 100644 --- a/examples/statemachine/src/language-server/statemachine-formatter.ts +++ b/examples/statemachine/src/language-server/statemachine-formatter.ts @@ -5,7 +5,7 @@ ******************************************************************************/ import type { AstNode } from 'langium'; -import { AbstractFormatter, Formatting } from 'langium'; +import { AbstractFormatter, Formatting } from 'langium/lsp'; import * as ast from './generated/ast.js'; export class StatemachineFormatter extends AbstractFormatter {