Jump to content

DefinitelyTyped


satguru
 Share

Recommended Posts

I should have explained why I was looking for BabylonJs Type Definition file at DefinitelyTyped site.

 

I am a Java programmer and was looking for a way to program Babylonjs using Java.

 

Recently a new project came out called JSweet http://www.jsweet.org/ .

JSweet is a "Java -> TypeScript -> JavaScript" transpiler.

 

Thanks to TypeScript definition file they are able to provide Java interfaces to thousands of JavaScript libraries.

I think they have a nightly build cycle which pulls Type Definition files from DefinitelyTyped site and create corresponding Java interface libraries,

 

Their recommendation for  adding support for libraries not yet supported by JSweet is to contribute the library's TypeDefinition file to DefinitelyTyped  site.

See http://www.jsweet.org/faq/#What_should_I_do_to_use_a_JavaScript_library_that_is_not_currently_supported_by_JSweet

Link to comment
Share on other sites

Hi,

 

Looks like "QuantumInformation" submission failed or did not have the tests.

Not sure how the test works.

I am assuming the tests are to validated the type definitions and that probably makes sense if the type definitions were created manually.

Given that BabylonJS itself is written in TypeScript and the TDs are auto generated  (right?) maybe we do not really need rigorous testing.

Maybe a dummy test file might suffice.

Yes?

 

Regards

Satguru

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...