Skip to content

Commit

Permalink
fix: Remove moduleResolution CompilerHost setting
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte authored and github-actions[bot] committed Sep 11, 2024
1 parent 2dfb412 commit 1f1dbf8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion resources/overrides/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import "./jquery.sap.mobile";
import "./jquery.sap";
import "./library/index"
import "./library/index";
1 change: 0 additions & 1 deletion src/linter/ui5Types/TypeLinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const log = getLogger("linter:ui5Types:TypeLinter");
const DEFAULT_OPTIONS: ts.CompilerOptions = {
target: ts.ScriptTarget.ES2022,
module: ts.ModuleKind.ES2022,
moduleResolution: ts.ModuleResolutionKind.NodeNext,
// Skip lib check to speed up linting. Libs should generally be fine,
// we might want to add a unit test doing the check during development
skipLibCheck: true,
Expand Down
1 change: 0 additions & 1 deletion src/linter/ui5Types/amdTranspiler/transpiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function createCompilerHost(sourceFiles: SourceFiles, writtenFiles: WrittenFiles
}

const compilerOptions = {
moduleResolution: ts.ModuleResolutionKind.NodeNext,
checkJs: false,
allowJs: true,
skipLibCheck: true,
Expand Down

0 comments on commit 1f1dbf8

Please sign in to comment.