Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TypeScript for React components #4203

Merged
merged 4 commits into from
Mar 12, 2020
Merged

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Mar 12, 2020

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

TypeScript components have to import PropTypes and React with import * as React from 'react';

Review with element-hq/element-web#12696

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';`
turt2live added a commit to element-hq/element-web that referenced this pull request Mar 12, 2020
@turt2live turt2live requested a review from t3chguy March 12, 2020 00:20
@turt2live turt2live merged commit 5060306 into develop Mar 12, 2020
@turt2live turt2live deleted the travis/typescript-2 branch March 12, 2020 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants