Vtome.ru - электронная библиотека

TypeScript Cookbook; Real World Type-Level Programming (5th Early Release)

  • Добавил: literator
  • Дата: 10-05-2023, 19:14
  • Комментариев: 0
Название: TypeScript Cookbook; Real World Type-Level Programming (5th Early Release)
Автор: Stefan Baumgartner
Издательство: O’Reilly Media, Inc.
Год: 2023-05-10
Страниц: 251
Язык: английский
Формат: pdf, epub (true), mobi
Размер: 10.2 MB

TypeScript is one of the most important tools for jаvascript developers. Still, even experienced developers wonder why the TypeScript compiler is throwing squiggly red lines at them. Enter TypeScript Cookbook. With this practical guide, author Stefan Baumgartner provides senior engineers with solutions for everyday TypeScript problems.

If you're conversant with TypeScript as well as jаvascript basics, this book provides actionable recipes to help you tackle a wide array of issues. From setting up complex project structures to developing advanced helper types, each self-contained recipe guides you through the problem and discusses why and how a solution works.

You want to get started with TypeScript, fantastic! The big question is: How do you start? There are many ways how you can integrate TypeScript into your projects, and they all are slightly different depending on your project’s needs. Just as jаvascript runs on many runtimes, there are plenty of ways to configure TypeScript so it meets your target’s needs.

The Chapter 1 covers all the possibilities of introducing TypeScript to your project, as an extension next to jаvascript that gives you basic auto-completion and error indication, up to full-fledge setups for full-stack applications on Node.js and the browser. Since jаvascript tooling is a field with endless possibilities — some say that a new jаvascript build chain is released every week, almost as much as new frameworks — this chapter focuses more on things you can do with the TypeScript compiler alone and without any extra tool. TypeScript offers everything you need for your transpilation needs, except the ability to create minified and optimized bundles for web distribution. Bundlers like ESBuild or Webpack take care of this task. Also, there are setups that include other transpilers like Babel.js which can play along nicely with TypeScript.

The ideal companion for your ongoing TypeScript journey, this cookbook helps you:

Dive into the inner workings of the TypeScript type system
Integrate TypeScript into a variety of projects
Craft advanced type definitions that allow for flexible scenarios
Create useful helper types that function across projects
Ensure readability along with type safety
Create robust APIs for helper types and their coworkers
Strongly type function signatures that rely on string types
Work around limitations of the standard library
Integrate TypeScript into advanced React projects

Скачать TypeScript Cookbook (5th Early Release)












ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


ПРАВООБЛАДАТЕЛЯМ


СООБЩИТЬ ОБ ОШИБКЕ ИЛИ НЕ РАБОЧЕЙ ССЫЛКЕ



Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.