Skip to content

Commit f17da36

Browse files
committed
Remove function assignment validation in type assertion
1 parent 93ad2bc commit f17da36

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/LuaTransformer.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4747,11 +4747,6 @@ export class LuaTransformer {
47474747
}
47484748

47494749
public transformAssertionExpression(expression: ts.AssertionExpression): ExpressionVisitResult {
4750-
this.validateFunctionAssignment(
4751-
expression,
4752-
this.checker.getTypeAtLocation(expression.expression),
4753-
this.checker.getTypeAtLocation(expression.type)
4754-
);
47554750
return this.transformExpression(expression.expression);
47564751
}
47574752

0 commit comments

Comments
 (0)