I want translate a text , I always use {{ 'Name' | translate }} in my html But now I need use translate en my .ts but I have a problem.
this.gridOptions = <GridOptions>{}; this.columnDefs = [ { headerName: {{'Name' | translate }}, field: 'name' }]; Forbbiden bitwise operation (no-bitwise) Not found the name translate hope ','. hope ';'. Thanks