grid build with error: TS1005,TS2322
oudi opened this issue · 1 comments
oudi commented
I want to debug my layout defect when put grid in nested div. so I pull the source code try to build myselft and debug the render. then I have a lot of erros when building. I think it's a typescript version problem, but there are different erros when I change to different typescript versions. the below error from main branch pulled today.(11/30/2021)
-
Build Environment:
- Node : 11.15.0
- Npm: 6.7.0
- Gulp Cli: 2.3.0
- Gulp: 3.9.1
- tsc: 4.5.2
- package.json: origian( no changes )
- typescript: 2.3.4
-
Error Output:
- src\grid\actions\logger.ts(427,13): error TS1005: '(' expected.
- spec\grid\actions\batch.edit.spec.ts(3345,13): error TS2322: Type 'Element' is not assignable to type 'HTMLElement'.
- spec\grid\actions\filter.spec.ts(2008,16): error TS2364: The left-hand side of an assignment expression must be a variable or a property access.
- src\grid\actions\batch-edit.ts(693,37): error TS2345: Argument of type 'Element' is not assignable to parameter of type 'HTMLElement'.
- src\grid\actions\infinite-scroll.ts(221,31): error TS2304: Cannot find name 'DOMRect'.
- src\grid\actions\pdf-export.ts(285,58): error TS2339: Property 'length' does not exist on type 'Object[] | Group'.
Property 'length' does not exist on type 'Group'.
-
Another Error
the files in https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/grids/umd-deploy/styles appear garbled
oudi commented
change typescript to 3.3.1, issue resloved. close!