Skip to content

Commit

Permalink
updated the import-statement for webapi-package
Browse files Browse the repository at this point in the history
  • Loading branch information
Eivind Fasting committed Jun 19, 2024
1 parent 599b625 commit d9947a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-server/src/core/superoffice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import ts, { ModuleResolutionKind } from 'typescript';
import * as html from 'vscode-html-languageservice';

// Constants
const npmImport = `import * as RTL from "@superoffice/webapi";\n`;
const npmImport = `import { WebApi } from "@superoffice/webapi";const SO = new WebApi();\n`;
const EJSCRIPT_START = '%EJSCRIPT_START%';
const EJSCRIPT_END = '%EJSCRIPT_END%';
const SCRIPT_START = '<%';
Expand Down

0 comments on commit d9947a4

Please sign in to comment.