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

  • 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.

主站蜘蛛池模板: 东方市| 横山县| 环江| 固阳县| 阜新市| 石家庄市| 手游| 北碚区| 鸡泽县| 崇州市| 涞水县| 郁南县| 沁水县| 磐石市| 西昌市| 扎鲁特旗| 抚顺县| 盱眙县| 临沧市| 阜康市| 介休市| 广汉市| 赤水市| 千阳县| 班戈县| 洪雅县| 乌什县| 永平县| 海南省| 于都县| 东城区| 安陆市| 洪洞县| 汉寿县| 壶关县| 民权县| 兴业县| 徐汇区| 无极县| 道孚县| 宿迁市|