Stupied question - newbie

nativescriptcore

#1

ello everyone,

I finished NativeScript tutorial using JavaScript not Angular.

Well, whenever I reach an example “RadListview” for example that should be using JavaScript I stumble with script for .ts … which I believe & also VS.code that it is for Angular or !!

after a long search I found this site NativeScript that refers to Nativescript but also have dome .ts files…

can someone please explain to me what are the differences …??

Best,
WS


#2

ts is extension for typescript
maybe this will help



#3

.ts files are TypeScript language files. TypeScript is a super-set of the JavaScript language, and compiles down to JavaScript. Essentially for the browser, for node, for your NativeScript device, when TypeScript is compiled TypeScript == JavaScript. -