NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on October 28, 2018, 10:50:38 AM

Title: Typescript
Post by: Djordje Radovanovic on October 28, 2018, 10:50:38 AM
Is it possible to use typscript with NetTalk?

Best regards,
Djole
Title: Re: Typescript
Post by: Bruce on October 29, 2018, 05:16:02 AM
TypeScript is just a super-set of JavaScript - so the answer is therefore "yes".
Client-Side of course, not server side.

cheers
Bruce
Title: Re: Typescript
Post by: bshields on October 29, 2018, 03:38:00 PM
Yeah, Typescript "compiles" to standard javascipt, its just a sexy strongly typed "improved" version of javascript. Generally suited to large scale javascript implementations, thus tghe strong typing and other improvements.
Title: Re: Typescript
Post by: Sibuya on November 05, 2018, 09:09:20 AM
Hi Djordje,

This is what happens when you create a NT app for mobile using Phone Gap. You could have object code in Typescript .ts that is "transpilled" to generate javascript .js equivalent and finally compiled with Java to generate an APK for Android for example.

Cheers,

Marcos