Support TypeScript for React components

Same treatment as https://github.com/matrix-org/matrix-react-sdk/pull/4203
This commit is contained in:
Travis Ralston 2020-03-11 18:19:03 -06:00
parent 87e32baefa
commit f44694ad44
4 changed files with 8 additions and 6 deletions

View file

@ -10,10 +10,12 @@
"outDir": "./lib",
"declaration": true,
"types": [
"node"
"node",
"react"
]
},
"include": [
"./src/**/*.ts"
"./src/**/*.ts",
"./src/**/*.tsx"
]
}