Devextreme-reactive: dx-react-grid can not be transpiled due to TS1005 ts error in typings

Created on 30 May 2019  路  4Comments  路  Source: DevExpress/devextreme-reactive

  • [x] React Grid

Current Behaviour

ERROR in /root/node_modules/@devexpress/dx-react-grid/dist/dx-react-grid.d.ts
[tsl] ERROR in /root/node_modules/@devexpress/dx-react-grid/dist/dx-react-grid.d.ts(292,42)
TS1005: ',' expected.

Environment

typescript: 3.1.6
@devexpress/dx-react-grid: 1.11.0

Grid bug

Most helpful comment

@ushkal The TypeScript errors only occur when trying to compile the dx-react-grid type declarations in older versions of TypeScript. The type declarations use TypeScript features that were added recently (I believe in 3.4) and so are now incompatible with 3.1.6. I'm not sure how to reproduce that in CodeSandbox.

All 4 comments

Hi @qw4n7y ,

I couldn't reproduce the issue. Would you please modify this project so that the error is reproduced?

@ushkal The TypeScript errors only occur when trying to compile the dx-react-grid type declarations in older versions of TypeScript. The type declarations use TypeScript features that were added recently (I believe in 3.4) and so are now incompatible with 3.1.6. I'm not sure how to reproduce that in CodeSandbox.

Hi all,

We've fixed the issue in the context of this PR. The latest version 1.11.1 contains the fix.

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

Was this page helpful?
0 / 5 - 0 ratings