From 6f5aaa35700a7df0f06059a05e77885264f968ad Mon Sep 17 00:00:00 2001 From: thejoecode <1725110+thejoecode@users.noreply.github.com> Date: Sat, 24 Aug 2024 06:53:01 -0400 Subject: [PATCH] Update imports to match latest (#251) 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';