TypeScript Notes for Professionals book

    Amazing collection of free programming books

    收集中
    免费
    Amazing collection of free programming books

    The Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified

    Book created for educational purposes and is not affiliated with group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners

    https://goalkicker.com/

    章节目录

    • 1-1
      Content list
    • 1-2
      About
    • 1-3
      Chapter 1: Getting started with TypeScript
    • 1-4
      Section 1.1: Installation and setup
    • 1-5
      Section 1.2: Basic syntax
    • 1-6
      Section 1.3: Hello World
    • 1-7
      Section 1.4: Running TypeScript using ts-node
    • 1-8
      Section 1.5: TypeScript REPL in Node.js
    • 1-9
      Chapter 2: Why and when to use TypeScript
    • 1-10
      Section 2.1: Safety
    • 1-11
      Section 2.2: Readability
    • 1-12
      Section 2.3: Tooling
    • 1-13
      Chapter 3: TypeScript Core Types
    • 1-14
      Section 3.1: String Literal Types
    • 1-15
      Section 3.2: Tuple
    • 1-16
      Section 3.3: Boolean
    • 1-17
      Section 3.4: Intersection Types
    • 1-18
      Section 3.5: Types in function arguments and return value. Number
    • 1-19
      Section 3.6: Types in function arguments and return value. String
    • 1-20
      Section 3.7: const Enum
    • 1-21
      Section 3.8: Number
    • 1-22
      Section 3.9: String
    • 1-23
      Section 3.10: Array
    • 1-24
      Section 3.11: Enum
    • 1-25
      Section 3.12: Any
    • 1-26
      Section 3.13: Void
    • 1-27
      Chapter 4: Arrays
    • 1-28
      Section 4.1: Finding Object in Array
    • 1-29
      Chapter 5: Enums
    • 1-30
      Section 5.1: Enums with explicit values
    • 1-31
      Section 5.2: How to get all enum values
    • 1-32
      Section 5.3: Extending enums without custom enum implementation
    • 1-33
      Section 5.4: Custom enum implementation: extends for enums
    • 1-34
      Chapter 6: Functions
    • 1-35
      Section 6.1: Optional and Default Parameters
    • 1-36
      Section 6.2: Function as a parameter
    • 1-37
      Section 6.3: Functions with Union Types
    • 1-38
      Section 6.4: Types of Functions
    • 1-39
      Chapter 7: Classes
    • 1-40
      Section 7.1: Abstract Classes
    • 1-41
      Section 7.2: Simple class
    • 1-42
      Section 7.3: Basic Inheritance
    • 1-43
      Section 7.4: Constructors
    • 1-44
      Section 7.5: Accessors
    • 1-45
      Section 7.6: Transpilation
    • 1-46
      Section 7.7: Monkey patch a function into an existing class
    • 1-47
      Chapter 8: Class Decorator
    • 1-48
      Section 8.1: Generating metadata using a class decorator
    • 1-49
      Section 8.2: Passing arguments to a class decorator
    • 1-50
      Section 8.3: Basic class decorator
    • 1-51
      Chapter 9: Interfaces
    • 1-52
      Section 9.1: Extending Interface
    • 1-53
      Section 9.2: Class Interface
    • 1-54
      Section 9.3: Using Interfaces for Polymorphism
    • 1-55
      Section 9.4: Generic Interfaces
    • 1-56
      Section 9.5: Add functions or properties to an existing interface
    • 1-57
      Section 9.6: Implicit Implementation And Object Shape
    • 1-58
      Section 9.7: Using Interfaces to Enforce Types
    • 1-59
      Chapter 10: Generics
    • 1-60
      Section 10.1: Generic Interfaces
    • 1-61
      Section 10.2: Generic Class
    • 1-62
      Section 10.3: Type parameters as constraints
    • 1-63
      Section 10.4: Generics Constraints
    • 1-64
      Section 10.5: Generic Functions
    • 1-65
      Section 10.6: Using generic Classes and Functions:
    • 1-66
      Chapter 11: Strict null checks
    • 1-67
      Section 11.1: Strict null checks in action
    • 1-68
      Section 11.2: Non-null assertions
    • 1-69
      Chapter 12: User-defined Type Guards
    • 1-70
      Section 12.1: Type guarding functions
    • 1-71
      Section 12.2: Using instanceof
    • 1-72
      Section 12.3: Using typeof
    • 1-73
      Chapter 13: TypeScript basic examples
    • 1-74
      Section 13.1: 1 basic class inheritance example using extends and super keyword
    • 1-75
      Section 13.2: 2 static class variable example - count how many time method is being invoked
    • 1-76
      Chapter 14: Importing external libraries
    • 1-77
      Section 14.1: Finding definition files
    • 1-78
      Section 14.2: Importing a module from npm
    • 1-79
      Section 14.3: Using global external libraries without typings
    • 1-80
      Section 14.4: Finding definition files with TypeScript 2.x
    • 1-81
      Chapter 15: Modules - exporting and importing
    • 1-82
      Section 15.1: Hello world module
    • 1-83
      Section 15.2: Re-export
    • 1-84
      Section 15.3: Exporting/Importing declarations
    • 1-85
      Chapter 16: Publish TypeScript definition files
    • 1-86
      Section 16.1: Include definition file with library on npm
    • 1-87
      Chapter 17: Using TypeScript with webpack
    • 1-88
      Section 17.1: webpack.config.js
    • 1-89
      Chapter 18: Mixins
    • 1-90
      Section 18.1: Example of Mixins
    • 1-91
      Chapter 19: How to use a JavaScript library without a type definition file
    • 1-92
      Section 19.1: Make a module that exports a default any
    • 1-93
      Section 19.2: Declare an any global
    • 1-94
      Section 19.3: Use an ambient module
    • 1-95
      Chapter 20: TypeScript installing typescript and running the typescript compiler tsc
    • 1-96
      Section 20.1: Steps
    • 1-97
      Chapter 21: Configure typescript project to compile all files in typescript.
    • 1-98
      Section 21.1: TypeScript Configuration file setup
    • 1-99
      Chapter 22: Integrating with Build Tools
    • 1-100
      Section 22.1: Browserify
    • 1-101
      Section 22.2: Webpack
    • 1-102
      Section 22.3: Grunt
    • 1-103
      Section 22.4: Gulp
    • 1-104
      Section 22.5: MSBuild
    • 1-105
      Section 22.6: NuGet
    • 1-106
      Section 22.7: Install and configure webpack + loaders
    • 1-107
      Chapter 23: Using TypeScript with RequireJS
    • 1-108
      Section 23.1: HTML example using RequireJS CDN to include an already compiled TypeScript file
    • 1-109
      Section 23.2: tsconfig.json example to compile to view folder using RequireJS import style
    • 1-110
      Chapter 24: TypeScript with AngularJS
    • 1-111
      Section 24.1: Directive
    • 1-112
      Section 24.2: Simple example
    • 1-113
      Section 24.3: Component
    • 1-114
      Chapter 25: TypeScript with SystemJS
    • 1-115
      Section 25.1: Hello World in the browser with SystemJS
    • 1-116
      Chapter 26: Using TypeScript with React (JS & native)
    • 1-117
      Section 26.1: ReactJS component written in TypeScript
    • 1-118
      Section 26.2: TypeScript & react & webpack
    • 1-119
      Chapter 27: TSLint - assuring code quality and consistency
    • 1-120
      Section 27.1: Configuration for fewer programming errors
    • 1-121
      Section 27.2: Installation and setup
    • 1-122
      Section 27.3: Sets of TSLint Rules
    • 1-123
      Section 27.4: Basic tslint.json setup
    • 1-124
      Section 27.5: Using a predefined ruleset as default
    • 1-125
      Chapter 28: tsconfig.json
    • 1-126
      Section 28.1: Create TypeScript project with tsconfig.json
    • 1-127
      Section 28.2: Configuration for fewer programming errors
    • 1-128
      Section 28.3: compileOnSave
    • 1-129
      Section 28.4: Comments
    • 1-130
      Section 28.5: preserveConstEnums
    • 1-131
      Chapter 29: Debugging
    • 1-132
      Section 29.1: TypeScript with ts-node in WebStorm
    • 1-133
      Section 29.2: TypeScript with ts-node in Visual Studio Code
    • 1-134
      Section 29.3: JavaScript with SourceMaps in Visual Studio Code
    • 1-135
      Section 29.4: JavaScript with SourceMaps in WebStorm
    • 1-136
      Chapter 30: Unit Testing
    • 1-137
      Section 30.1: tape
    • 1-138
      Section 30.2: jest (ts-jest)
    • 1-139
      Section 30.3: Alsatian
    • 1-140
      Section 30.4: chai-immutable plugin
    • 1-141
      Credits
    • 1-142
      You may also like

    常见问答

    您可以透過手機、平板或是電腦登入 HiSKIO 平台,在【我的學習】>【我的書籍】頁面,選擇想看的電子書。

    猜你喜欢

    用户评价

    | 收集中

    销售方案