Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
VB.NET
Perl
COBOL
Pascal
FORTRAN
BASIC
Ada
C++
Scala
ASP.NET
 C
 :) Hot Jobs
 
 :) Latest Articles


  

 


Define what is TypeScript Map file?
Question Posted on 02 Apr 2021

Home >> Programming Languages >> TypeScript >> Define what is TypeScript Map file?




Define what is TypeScript Map file?
TypeScript Map files are source map files that let tools map between the emitted JavaScript code and the TypeScript source files that created it. And this files will helps to debug the Typescript file instead of the Javascript file. And this Typescript map file is consumed by many debuggers to debug the Typescript. A source map file maps from the transpiled JavaScript file to the original TypeScript file. Below are the some keypoints of TypeScript Map file:-
(1)Here reference to the JavaScript file is defined in a file field.
(2)As from above point we knows the reference to TypeScript file is in a sources field. And it is placed in the project structure.
(3)In TypeScript file sourceRoot field is the root path of the TypeScript files.
(4)Here version field help us to get the version of the source map spec which is being used.
(5)The names field is a list of identifiers used in the source code that were changed or removed from the output.
(6)There is mapping field have have mapping information for every position in the javascript code back to positions in the TypeScript code. These are base64 encoded variable-length quantities.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Below are the two main ways to install Typescript
TypeScript is a open secure programming language.
We can rename a .js file to .ts file generally
Ten most common difference between Javascript and Typescript
Define what is TypeScript Map file?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |