Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
larshp
Active Contributor

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

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

2 Comments
Labels in this area