TypeScript Notes for Professionals book

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

What people are saying about Notes for Professionals books These free programming reference books are pretty nice http://books.goalkicker.com Thanks, worth a read! Super useful for reference, many thanks for whoever did this. Instead of browsing, clicking, digging infinitely, now I have ONE in one place. Wow! Awesome resource. Thanks a lot! Great resource for a wide array of topics! Binge downloaded plenty from your site - thanx a million!! The TypeScript 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 TypeScript group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners 97 pages, published on May 2018

Author(s): GoalKicker Books
Series: Programming Notes for Professionals
Publisher: GoalKicker Books
Year: 2018

Language: English
Pages: 97
Tags: Programming, Notes, TypeScript, Professionals

Content list
About
Chapter 1: Getting started with TypeScript
Section 1.1: Installation and setup
Section 1.2: Basic syntax
Section 1.3: Hello World
Section 1.4: Running TypeScript using ts-node
Section 1.5: TypeScript REPL in Node.js
Chapter 2: Why and when to use TypeScript
Section 2.1: Safety
Section 2.2: Readability
Section 2.3: Tooling
Chapter 3: TypeScript Core Types
Section 3.1: String Literal Types
Section 3.2: Tuple
Section 3.3: Boolean
Section 3.4: Intersection Types
Section 3.5: Types in function arguments and return value. Number
Section 3.6: Types in function arguments and return value. String
Section 3.7: const Enum
Section 3.8: Number
Section 3.9: String
Section 3.10: Array
Section 3.11: Enum
Section 3.12: Any
Section 3.13: Void
Chapter 4: Arrays
Section 4.1: Finding Object in Array
Chapter 5: Enums
Section 5.1: Enums with explicit values
Section 5.2: How to get all enum values
Section 5.3: Extending enums without custom enum implementation
Section 5.4: Custom enum implementation: extends for enums
Chapter 6: Functions
Section 6.1: Optional and Default Parameters
Section 6.2: Function as a parameter
Section 6.3: Functions with Union Types
Section 6.4: Types of Functions
Chapter 7: Classes
Section 7.1: Abstract Classes
Section 7.2: Simple class
Section 7.3: Basic Inheritance
Section 7.4: Constructors
Section 7.5: Accessors
Section 7.6: Transpilation
Section 7.7: Monkey patch a function into an existing class
Chapter 8: Class Decorator
Section 8.1: Generating metadata using a class decorator
Section 8.2: Passing arguments to a class decorator
Section 8.3: Basic class decorator
Chapter 9: Interfaces
Section 9.1: Extending Interface
Section 9.2: Class Interface
Section 9.3: Using Interfaces for Polymorphism
Section 9.4: Generic Interfaces
Section 9.5: Add functions or properties to an existing interface
Section 9.6: Implicit Implementation And Object Shape
Section 9.7: Using Interfaces to Enforce Types
Chapter 10: Generics
Section 10.1: Generic Interfaces
Section 10.2: Generic Class
Section 10.3: Type parameters as constraints
Section 10.4: Generics Constraints
Section 10.5: Generic Functions
Section 10.6: Using generic Classes and Functions:
Chapter 11: Strict null checks
Section 11.1: Strict null checks in action
Section 11.2: Non-null assertions
Chapter 12: User-defined Type Guards
Section 12.1: Type guarding functions
Section 12.2: Using instanceof
Section 12.3: Using typeof
Chapter 13: TypeScript basic examples
Section 13.1: 1 basic class inheritance example using extends and super keyword
Section 13.2: 2 static class variable example - count how many time method is being invoked
Chapter 14: Importing external libraries
Section 14.1: Finding definition files
Section 14.2: Importing a module from npm
Section 14.3: Using global external libraries without typings
Section 14.4: Finding definition files with TypeScript 2.x
Chapter 15: Modules - exporting and importing
Section 15.1: Hello world module
Section 15.2: Re-export
Section 15.3: Exporting/Importing declarations
Chapter 16: Publish TypeScript definition files
Section 16.1: Include definition file with library on npm
Chapter 17: Using TypeScript with webpack
Section 17.1: webpack.config.js
Chapter 18: Mixins
Section 18.1: Example of Mixins
Chapter 19: How to use a JavaScript library without a type definition file
Section 19.1: Make a module that exports a default any
Section 19.2: Declare an any global
Section 19.3: Use an ambient module
Chapter 20: TypeScript installing typescript and running the typescript compiler tsc
Section 20.1: Steps
Chapter 21: Configure typescript project to compile all files in typescript.
Section 21.1: TypeScript Configuration file setup
Chapter 22: Integrating with Build Tools
Section 22.1: Browserify
Section 22.2: Webpack
Section 22.3: Grunt
Section 22.4: Gulp
Section 22.5: MSBuild
Section 22.6: NuGet
Section 22.7: Install and configure webpack + loaders
Chapter 23: Using TypeScript with RequireJS
Section 23.1: HTML example using RequireJS CDN to include an already compiled TypeScript file
Section 23.2: tsconfig.json example to compile to view folder using RequireJS import style
Chapter 24: TypeScript with AngularJS
Section 24.1: Directive
Section 24.2: Simple example
Section 24.3: Component
Chapter 25: TypeScript with SystemJS
Section 25.1: Hello World in the browser with SystemJS
Chapter 26: Using TypeScript with React (JS & native)
Section 26.1: ReactJS component written in TypeScript
Section 26.2: TypeScript & react & webpack
Chapter 27: TSLint - assuring code quality and consistency
Section 27.1: Configuration for fewer programming errors
Section 27.2: Installation and setup
Section 27.3: Sets of TSLint Rules
Section 27.4: Basic tslint.json setup
Section 27.5: Using a predefined ruleset as default
Chapter 28: tsconfig.json
Section 28.1: Create TypeScript project with tsconfig.json
Section 28.2: Configuration for fewer programming errors
Section 28.3: compileOnSave
Section 28.4: Comments
Section 28.5: preserveConstEnums
Chapter 29: Debugging
Section 29.1: TypeScript with ts-node in WebStorm
Section 29.2: TypeScript with ts-node in Visual Studio Code
Section 29.3: JavaScript with SourceMaps in Visual Studio Code
Section 29.4: JavaScript with SourceMaps in WebStorm
Chapter 30: Unit Testing
Section 30.1: tape
Section 30.2: jest (ts-jest)
Section 30.3: Alsatian
Section 30.4: chai-immutable plugin
Credits
You may also like