MCPcopy
hub / github.com/basarat/typescript-book

github.com/basarat/typescript-book @main sqlite

repository ↗ · DeepWiki ↗
544 symbols 758 edges 97 files 10 documented · 2%
README

YouTube Channel Subscribers

TypeScript Deep Dive

Learn Professional TypeScript. I've been looking at the issues that turn up commonly when people start using TypeScript. This is based on the lessons from Stack Overflow / DefinitelyTyped and general engagement with the TypeScript community. You can follow for updates and don't forget to ★ on GitHub 🌹

Reviews

  • Thanks for the wonderful book. Learned a lot from it. (link)
  • Its probably the Best TypeScript book out there. Good Job (link)
  • Love how precise and clear the examples and explanations are! (link)
  • For the low, low price of free, you get pages of pure awesomeness. Chock full of source code examples and clear, concise explanations, TypeScript Deep Dive will help you learn TypeScript development. (link)
  • Just a big thank you! Best TypeScript 2 detailed explanation! (link)
  • This gitbook got my project going pronto. Fluent easy read 5 stars. (link)
  • I recommend the online #typescript book by @basarat you'll love it.(link)
  • I've always found this by @basarat really helpful. (link)
  • We must highlight TypeScript Deep Dive, an open source book.(link)
  • Great online resource for learning. (link)
  • Thank you for putting this book together, and for all your hard work within the TypeScript community. (link)
  • TypeScript Deep Dive is one of the best technical texts I've read in a while. (link)
  • Thanks @basarat for the TypeScript Deep Dive Book. Help me a lot with my first TypeScript project. (link)
  • Thanks to @basarat for this great #typescript learning resource. (link)
  • Guyz excellent book on Typescript(@typescriptlang) by @basarat (link)
  • Leaning on the legendary @basarat's "TypeScript Deep Dive" book heavily at the moment (link)
  • numTimesPointedPeopleToBasaratsTypeScriptBook++; (link)
  • A book not only for typescript, a good one for deeper JavaScript knowledge as well. link
  • In my new job, we're using @typescriptlang, which I am new to. This is insanely helpful huge thanks, @basarat! link
  • Thank you for writing TypeScript Deep Dive. I have learned so much. link
  • Loving @basarat's @typescriptlang online book basarat.gitbooks.io/typescript/# loaded with great recipes! link
  • Microsoft doc is great already, but if want to "dig deeper" into TypeScript I find this book of great value link
  • Thanks, this is a great book 🤓🤓 link
  • Deep dive to typescript is awesome in so many levels. i find it very insightful. Thanks link
  • @basarat's intro to @typescriptlang is still one of the best going (if not THE best) link
  • This is sweet! So many #typescript goodies! link

Get Started

If you are here to read the book online get started.

Translations

Book is completely free so you can copy paste whatever you want without requiring permission. If you have a translation you want me to link here. Send a PR. * Filipino * Italian * Chinese * Russian * Portuguese * Japanese * Spanish * Korean * French * Polish * Thai * Bengali * Ukrainian

Other Options

You can also download one of the Epub, Mobi, or PDF formats from the actions tab by clicking on the latest build run. You will find the files in the artifacts section.

Special Thanks

All the amazing contributors 🌹

Share

Share URL: https://basarat.gitbook.io/typescript/

Extension points exported contracts — how you extend this code

Foo (Interface)
* Just some interfaces
code/types/typeGuard.ts
NodeBuffer (Interface)
* @deprecated
code/compiler/typings/node/node.d.ts
Bar (Interface)
(no doc)
code/declarationspaces/declarationspace.ts
Foo (Interface)
(no doc)
code/tips/lazyObjectLiteralInitialization.ts
Point (Interface)
(no doc) [2 implementers]
code/types/interfaces.ts
Buffer (Interface)
(no doc)
code/compiler/typings/node/node.d.ts
FooId (Interface)
(no doc)
code/tips/nominalTyping.ts
Point2D (Interface)
Type Heirarchy
code/types/type-compatibility.ts

Core symbols most depended-on inside this repo

log
called by 96
code/es6/classes/super.ts
log
called by 95
code/types/freshness/index-signatures.ts
next
called by 14
code/es6/iterators.ts
toString
called by 11
code/compiler/typings/node/node.d.ts
add
called by 6
code/es6/classes/class.ts
doStuff
called by 6
code/types/typeGuard.ts
doStuff
called by 6
code/types/typeGuard.js
foo
called by 5
code/types/functions.ts

Shape

Method 199
Function 164
Interface 97
Class 78
Enum 6

Languages

TypeScript100%

Modules by API surface

code/compiler/typings/node/node.d.ts258 symbols
code/types/type-compatibility.ts18 symbols
code/types/readonly.ts16 symbols
code/tips/mixins.ts13 symbols
code/types/type-compatibility.js12 symbols
code/es6/classes/class.ts11 symbols
code/types/typeGuard.ts9 symbols
code/types/freshness/index-signatures.ts9 symbols
code/types/types.ts7 symbols
code/types/readonly.js7 symbols
code/types/lib/usage/libd.ts7 symbols
code/types/freshness/freshness.ts7 symbols

Dependencies from manifests, versioned

moment2.18.1 · 1×
ntypescript1.201507141013.1 · 1×
typescript2.4.1 · 1×

For agents

$ claude mcp add typescript-book \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact