打字稿与角度有关 [英] How typescript is related to angular

查看:133
本文介绍了打字稿与角度有关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近参加了采访,我曾经告诉我,我的声音很有道理。



面试官问我,你知道打字稿吗?

我是否知道我是否知道

我的怀疑是

Typescript与Angular有什么关系?

我能说出来吗我知道打字稿,如果我知道棱角分明吗?



提前谢谢



我试过的:



我试过谷歌搜索,但我没有说服谷歌答案

解决方案

< blockquote>首先你要了解TypeScript是什么。

TypeScript与JavaScript - Hacker Noon [ ^ ]给出了一个很好的解释。 />


您也可以使用Google进行搜索打字稿与Javascript。



TypeScript是Javascript的超集,其强类型与TypeScript建议的名称类似。



Web浏览器不了解TypeScript,只能理解JavaScript。

部署TypeScript时会转换为JavaScript。



Angular apps本身也可以只使用JavaScript开发。

但建议使用TypeScript作为教程显示。


你曾经在Angular,Javascript或打字稿?



我从最近2年开始使用Angular,我使用的是Typescript,原因是Typescript遵循OOPS概念(这使得它易于使用)。

I had attended interviews recently and i used to tell that i have sound knowlede on angular

Interviewer asked me that Do you know typescript?
I have got confused whether i know or not
My doubt is
How Typescript is related to Angular?
Could i tell that i know typescript if i know angular?

Thanks in advance

What I have tried:

I have tried in google search but i did not convince with google answers

解决方案

First of all you should understand what TypeScript is.
TypeScript vs. JavaScript – Hacker Noon[^] gives a good explanation.

You could also search with Google for e.g. Typescript vs Javascript.

TypeScript is a superset of Javascript which is strongly typed as the name TypeScript suggests.

A web browser does not know about TypeScript and can only understand JavaScript.
When deploying TypeScript is transpiled to JavaScript.

Angular apps itself can also be developed with only JavaScript.
But it is recommended to use TypeScript as the tutorials show.


What you used to work in Angular, Javascript or Typescript?

I have been working in Angular from last 2yrs, I have used Typescript, reason being Typescript follows OOPS concept(which makes it easy to use).


这篇关于打字稿与角度有关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆