NetTalk Central

Author Topic: Typescript  (Read 3216 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Typescript
« on: October 28, 2018, 10:50:38 AM »
Is it possible to use typscript with NetTalk?

Best regards,
Djole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: Typescript
« Reply #1 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

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: Typescript
« Reply #2 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.

Sibuya

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
Re: Typescript
« Reply #3 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