Quantcast
Channel: SCN : Blog List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 676

Typescript definitions for HANA XS engine

$
0
0

Hi All,

I've written a typescriptdefinitions 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:

 

ts.png

 

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

Saving the file will compile the typescript to javascript:

 

compiled.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


Viewing all articles
Browse latest Browse all 676

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>