Skip to content

Commit 9f925ca

Browse files
committed
Remove reference to TS as not required
1 parent 1e94bf1 commit 9f925ca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

server/src/project/elements/precompiled.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Core
2-
import * as ts from "typescript";
3-
import { Position, Range, SemanticTokenTypes } from 'vscode-languageserver';
2+
import { Range, SemanticTokenTypes } from 'vscode-languageserver';
43
import { TextDocument } from 'vscode-languageserver-textdocument';
54

65
// Antlr
@@ -82,7 +81,7 @@ class CompilerConditionBlock extends BaseContextSyntaxElement<CompilerConditiona
8281
const tsExpression = this.transpileVbaToTypescript(vbaExpression);
8382

8483
// Evaluate the expression and return the result.
85-
const result = eval(ts.transpile(tsExpression));
84+
const result = eval(tsExpression);
8685
if (!(typeof result === "boolean")) {
8786
// TODO: Return false here instead of throwing
8887
// and return an error diagnostic for the expression.

0 commit comments

Comments
 (0)