[ 
https://issues.apache.org/jira/browse/ARROW-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195668#comment-17195668
 ] 

Paul Taylor edited comment on ARROW-8394 at 9/18/20, 5:30 AM:
--------------------------------------------------------------

I've started work on a branch in my fork here[1], but have been occupied the 
last few weeks (work, moving, back injury, etc.). There's not much left to do, 
so I think I should be able to get it finished and PR'd this week.

1. https://github.com/trxcllnt/arrow/tree/fix/typescript-3.9-errors


was (Author: paul.e.taylor):
I've started work on a branch in my fork here[1], but have been occupied the 
last few weeks (work, moving, back injury, etc.). There's not much left to do, 
so I think I should be able to get it finished and PR'd this week.

1. https://github.com/trxcllnt/arrow/tree/typescript-3.9

> [JS] Typescript compiler errors for arrow d.ts files, when using es2015-esm 
> package
> -----------------------------------------------------------------------------------
>
>                 Key: ARROW-8394
>                 URL: https://issues.apache.org/jira/browse/ARROW-8394
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 0.16.0
>            Reporter: Shyamal Shukla
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Attempting to use apache-arrow within a web application, but typescript 
> compiler throws the following errors in some of arrow's .d.ts files
> import \{ Table } from "../node_modules/@apache-arrow/es2015-esm/Arrow";
> export class SomeClass {
> .
> .
> constructor() {
> const t = Table.from('');
> }
> *node_modules/@apache-arrow/es2015-esm/column.d.ts:14:22* - error TS2417: 
> Class static side 'typeof Column' incorrectly extends base class static side 
> 'typeof Chunked'. Types of property 'new' are incompatible.
> *node_modules/@apache-arrow/es2015-esm/ipc/reader.d.ts:238:5* - error TS2717: 
> Subsequent property declarations must have the same type. Property 'schema' 
> must be of type 'Schema', but here has type 'Schema'.
> 238 schema: Schema;
> *node_modules/@apache-arrow/es2015-esm/recordbatch.d.ts:17:18* - error 
> TS2430: Interface 'RecordBatch' incorrectly extends interface 'StructVector'. 
> The types of 'slice(...).clone' are incompatible between these types.
> the tsconfig.json file looks like
> {
>  "compilerOptions": {
>  "target":"ES6",
>  "outDir": "dist",
>  "baseUrl": "src/"
>  },
>  "exclude": ["dist"],
>  "include": ["src/*.ts"]
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to