Typescript Components

Typescript Components In Hindi – Typescript In Hindi

TypeScript

Typescript Components In Hindi – Basically Typescript Language Ko Hum Three Layers ME Divide Karte Hai. In me Se Har Ek Layer Ko Aage Sublayers Or Components Me Divide Kiya Gaya Hai.

Niche Diye Gaye Diagram Me Hum Three Layers Or Inke Sub Layers Ko Dekh Sakte Hai.

Typescript Components In Hindi

Yadi Aapne  HTML Full Course  And CSS Full Course And Python Full Course And PHP Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai |

Typescript Three Layers In Hindi:

  1. Language
  2. The TypeScript Compiler
  3. The TypeScript Language Services

1.Language:

Yah Typescript Language Ki Feature Hai. Isme Type-Annotation, Syntax And Keywords Jaise Element Aate Hai.

2.The TypeScript Compiler:

TS Compiler Typescript File/Code Ko Isee Ke Equal Javascript File/Code Me Convert Karta Hai.Yah Convert Karne Se Pahle Parsing, TypeChecking Actions Ko Bhi Perform Karta Hai.

Components of TypeScript

Browser Direct Typescript Ke Code Execution Ko Support Nahi Karta, Pahle TS Code ko Javascript Me Convert Karta Hai Uske Browser Uss Code Ko Samjh Sakta Hai. Hum Typescript Ke Compiler Ko Kisi Bhi NPM Package Se Locally, Globally, Dono Tareeke Se Install Kar Sakte Hai.

Also Read – TypeScript Vs JavaScript

Hum Typescript File Ko Iss Command Se Run Kar Sakte Hai.

$ tsc helloworld.ts

Typescript Ki Compiler Configuration In Hindi:

 tsconfig.json file

{  
  "compilerOptions": {  
    "declaration": true,  
    "emitDecoratorMetadata": false,  
    "experimentalDecorators": false,  
    "module": "none",  
    "moduleResolution": "node",  
    "noFallthroughCasesInSwitch": false,  
    "noImplicitAny": false,  
    "noImplicitReturns": false,  
    "removeComments": false,  
    "sourceMap": false,  
    "strictNullChecks": false,  
    "target": "es3"  
  },  
  "compileOnSave": true  
}  

Typescript ki Declaration File In Hindi:

Jab Hum Typescript Ke Code Ko Run Karte Hai Tab Hamare Pass Declaration File Ko Generate Karne Kaa Option Hota Hai. Iss File Kaa Extension .d.ts Hota Hai.

3.The TypeScript Language Services:

Yah Hame Better Assistance Feature Jaise Ki IntelliSense, Automated Refactoring Provide Karta Hai.Ye Core-Compiler Pipeline Ke Around Ek Additional Layer Ko Bhi Expose Karta Hai.Yah Standard Typical Editor Operations Like Code Formatting And Outlining, Colorization, Statement Completion, Signature Help, Etc. Bhi Provide Karta Hai.

Also Read This Post :

Friends mujhe ummed hai ki aap  TypeScript in Hindi  ko acchi tarah se samanj gye honge agar aap ko ye post acchi lage to mere is website ko jarur follow kre |

Leave a Reply

Your email address will not be published. Required fields are marked *