You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Matthew Allen (JIRA)" <ji...@apache.org> on 2018/10/26 06:00:00 UTC

[jira] [Commented] (TINKERPOP-2027) Add a Typescript definitions file to the project

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

Matthew Allen commented on TINKERPOP-2027:
------------------------------------------

[~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)