You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Brian Forbis (JIRA)" <ji...@apache.org> on 2019/02/16 20:54:00 UTC

[jira] [Created] (THRIFT-4806) Convert NodeJS Library to typescript

Brian Forbis created THRIFT-4806:
------------------------------------

             Summary: Convert NodeJS Library to typescript
                 Key: THRIFT-4806
                 URL: https://issues.apache.org/jira/browse/THRIFT-4806
             Project: Thrift
          Issue Type: Improvement
          Components: Node.js - Library, TypeScript - Library
            Reporter: Brian Forbis


I'd like us to consider migrating the NodeJS library to typescript. I feel this would simplify the existing libraries and build system. The typescript library would just need to be compiled down to javascript as part of the build system.

This will:
 * Introduce compile time type checks to help catch bugs
 * Provide better type documentation for consumers of the library
 * Include better typescript tests in the build
 * Allow us to merge the nodets and nodejs lib folders
 * Synchronize the javascript codebase with the type definitions (currently, there is an external project at DefinitelyTyped to provide typescript types for the nodejs lib)

 

If the maintainers think this is a good idea, I'd be happy to take a stab at it.



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