Skip to Content

Typescript definitions for HANA XS engine

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:


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

Saving the file will compile the typescript to javascript:


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

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