charleslbryant
Hello React and TypeScript

Updated 3 years ago

Ronny Hanssen (@spiralis) started discussion #8

3 years ago · 0 comments

Open

The very top of this file is a JavaScript comment. This is actually how we define references for TypeScript typing files. This let's TypeScript know where to find the definitions for types used in the code. I am using a global definition file that points to all of the actual definitions. This reduces the number of references I need to list in my file to one.

Component Basics (Edit this file)

Typescript 2 have some cool advances in this area. See https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant