From 3a078959a1a44f686abd97351801b870934b2774 Mon Sep 17 00:00:00 2001 From: thejoecode <1725110+thejoecode@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:49:42 -0400 Subject: [PATCH] Update imports to match latest LangiumDocumentFactory was missing and LangiumSharedServices has moved to langium/lsp --- hugo/content/docs/recipes/builtin-library.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugo/content/docs/recipes/builtin-library.md b/hugo/content/docs/recipes/builtin-library.md index 974047cd..8401d61e 100644 --- a/hugo/content/docs/recipes/builtin-library.md +++ b/hugo/content/docs/recipes/builtin-library.md @@ -24,8 +24,9 @@ import { AstNode, DefaultWorkspaceManager, LangiumDocument, - LangiumSharedServices + LangiumDocumentFactory } from "langium"; +import { LangiumSharedServices } from "langium/lsp"; import { WorkspaceFolder } from 'vscode-languageserver'; import { URI } from "vscode-uri"; import { builtinHelloWorld } from './builtins';