[
https://issues.apache.org/jira/browse/TINKERPOP-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738064#comment-16738064
]
Jorge Bay commented on TINKERPOP-2027:
--------------------------------------
As stated, we need the definitions file to be dynamically generated in the same
way the traversal API is generated:
* Script:
[https://github.com/apache/tinkerpop/blob/3.4.0/gremlin-javascript/glv/generate.groovy]
* Templates sample:
[https://github.com/apache/tinkerpop/blob/3.4.0/gremlin-javascript/glv/GraphTraversalSource.template]
That way the definitions file will be up to date with the API.
You can checkout the documentation about contributing code changes:
http://tinkerpop.apache.org/docs/3.4.0/dev/developer/#_contributing_code_changes
> 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)