Hello React and TypeScript

Updated 3 years ago

Ronny Hanssen (@spiralis) started discussion #8

3 years ago · 0 comments


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

No description provided.

No comments on this discussion.

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

You’re not receiving notifications from this thread.

1 participant