Skip to Content

Hi All,

I’ve written a typescript definitions file for use with SAP HANA XS engine.

This allows you to create your XS applications in typescript, fire up your favorite typescript editor, along with the definitions file:

/wp-content/uploads/2015/04/ts_695582.png

This shows Atom with its typescript plugin, it provides syntax highlighting and typeahead features.

Saving the file will compile the typescript to javascript:

/wp-content/uploads/2015/04/compiled_695583.png

The compiled javascript can be uploaded to the HANA server and run there.

Future Work:

  1. Improving definitions file
  2. Working with typescript in library files(xsjslib) is a mess, the typescript files can be compiled into one javascript file using compiler flag –out

https://github.com/larshp/xsjs.d.ts

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply