server-esm: Change simple local import statements

This commit is contained in:
Elian Doran
2024-07-18 21:35:17 +03:00
parent 8fb67c9766
commit 35d11cc0d2
184 changed files with 1023 additions and 1023 deletions

View File

@@ -2,9 +2,9 @@
// There are many issues with the types of the parser e.g. "parse" function returns "Expression"
// but we access properties like "subExpressions" which is not defined in the "Expression" class.
import Expression = require('../../src/services/search/expressions/expression');
import SearchContext = require('../../src/services/search/search_context');
import parse = require('../../src/services/search/services/parse');
import Expression from "../../src/services/search/expressions/expression.js";
import SearchContext from "../../src/services/search/search_context.js";
import parse from "../../src/services/search/services/parse.js";
function tokens(toks: Array<string>, cur = 0): Array<any> {
return toks.map((arg) => {