Enable support for TypeScript in components

Includes: compilation, translations, IDE support (use .tsx not .ts), typings, and other build tools.

TypeScript component have to import PropTypes and React with `import * as React from 'react';`
This commit is contained in:
Travis Ralston
2020-03-11 18:03:43 -06:00
parent d470f9649d
commit 7dd7417f12
6 changed files with 31 additions and 8 deletions
+2 -1
View File
@@ -10,7 +10,8 @@
"outDir": "./lib",
"declaration": true,
"types": [
"node"
"node",
"react"
]
},
"include": [