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

  • TypeScript Blueprints
  • Ivo Gabe de Wolff
  • 176字
  • 2021-07-14 10:59:26

Conventions

In this book, you will find a number of text styles 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: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

export function factorial(x: number): number {
   if (x <= 1) return 1;
   return x * factorial(x - 1);
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

export function factorial(x: number): number {
   if (x <= 1) return 1;
  return x * factorial(x - 1);
}

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

npm init -y

New terms and important words are shown in bold. 

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 富平县| 百色市| 定陶县| 汤原县| 汝阳县| 临潭县| 东至县| 永寿县| 肃北| 明水县| 晋江市| 冷水江市| 方正县| 信宜市| 杭州市| 南澳县| 宁德市| 息烽县| 武乡县| 康平县| 乾安县| 长宁区| 义乌市| 阳春市| 北京市| 淄博市| 前郭尔| 五家渠市| 章丘市| 天柱县| 上虞市| 黑水县| 沭阳县| 瓦房店市| 江源县| 广州市| 衡阳县| 北票市| 上杭县| 隆昌县| 城口县|