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

Matthew Allen edited comment on TINKERPOP-2027 at 10/26/18 6:00 AM:
--------------------------------------------------------------------

[~spmallette] [~jorgebg] Having had a look at this it looks like there will 
always be some degree of maintenance required for a typings file due to the 
non-generated classes in the project.

At the moment there doesn't appear to be an automated way to get the type 
information from JS files, whether from doc comments or any other means.

We could generate the GLV side from the Java code but it would then require the 
other project classes to be added and maintained. 

I would be happy to generate and edit typings files, as I have time to, and 
submit these to Definitely Typed after each release, unless you think the 
project can manage maintaining the types file?


was (Author: mattallenuk):
[~spmallette] [~jorgebg] Having had a look at this it looks like there will 
always be some degree of maintenance required for a typings file due to the 
non-generated classes in the project.

At the moment there doesn't appear to be an automated way to get the type 
information from JS files, whether from doc comments or any other means.

We could generate the GLV side from the Java code but it would then require the 
other project classes to be added and maintained. 

I would be happy to generate and edit typings files, as I have time to, and 
submit these to Definitely Typed after each release, unless you think the 
project can manage maintaining the files?

> Add a Typescript definitions file to the project
> ------------------------------------------------
>
>                 Key: TINKERPOP-2027
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2027
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: javascript
>    Affects Versions: 3.3.3, 3.2.9
>            Reporter: Matthew Allen
>            Priority: Major
>
> For those using Typescript it would be great to provide a type definition 
> file for the glv. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to