1 parent 93ad2bc commit f17da36Copy full SHA for f17da36
1 file changed
src/LuaTransformer.ts
@@ -4747,11 +4747,6 @@ export class LuaTransformer {
4747
}
4748
4749
public transformAssertionExpression(expression: ts.AssertionExpression): ExpressionVisitResult {
4750
- this.validateFunctionAssignment(
4751
- expression,
4752
- this.checker.getTypeAtLocation(expression.expression),
4753
- this.checker.getTypeAtLocation(expression.type)
4754
- );
4755
return this.transformExpression(expression.expression);
4756
4757
0 commit comments