官术网_书友最值得收藏!

  • TypeScript Essentials
  • Christopher Nance
  • 180字
  • 2021-08-05 17:43:24

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "To get started, let's create a new file on the filesystem and call it HelloWorld.ts."

A block of code is set as follows:

var p = document.createElement('p');
var hello: string = "Hello";
var world: string = 2;
p.textContent = hello + " " + world;

document.body.appendChild(p);

Any command-line input or output is written as follows:

tsc HelloWorld.ts

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "To create a new project that includes TypeScript, go to the File menu and navigate to New | Project."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 卫辉市| 长宁区| 德化县| 寿宁县| 凤翔县| 象山县| 郁南县| 平定县| 依兰县| 高州市| 镇雄县| 西青区| 新安县| 灵山县| 民权县| 阳新县| 芦山县| 江门市| 来凤县| 邹城市| 将乐县| 新建县| 平原县| 鄂托克旗| 育儿| 延安市| 海原县| 甘泉县| 长沙县| 龙里县| 哈密市| 泰兴市| 镇江市| 革吉县| 睢宁县| 仁布县| 铜陵市| 花莲市| 黄冈市| 武山县| 昌邑市|