Error Ts1128 Declaration Or Statement Expected Javascript