[
https://issues.apache.org/jira/browse/THRIFT-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543741#comment-14543741
]
Kazuki Yasufuku commented on THRIFT-3143:
-----------------------------------------
--gen js:ts generate Typescript definition files for browser. not for node.js
compatible.
I want to use thrift in server-side typescript with node.js, so I make this
patch.
I think if I make a patch that able to --gen js:ts:node, javascript codebase
become more complex.
And it is easier to create typescript codebase than add js:ts:node (and can
also support js:ts:jquery).
> add typescript directory support
> --------------------------------
>
> Key: THRIFT-3143
> URL: https://issues.apache.org/jira/browse/THRIFT-3143
> Project: Thrift
> Issue Type: New Feature
> Components: Node.js - Compiler
> Reporter: Kazuki Yasufuku
>
> Current typescript support is only work for browser, and generated d.ts uses
> internal module.
> So, it's hard to use for typescript in node.js.
> To solve probrem, I make a pull request that generate typescript code
> directory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)