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

Commits on Mar 12, 2020

  1. 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';`
    turt2live committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    7dd7417 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cccd27f View commit details
    Browse the repository at this point in the history
  3. Also tsconfig

    turt2live committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    5a5e717 View commit details
    Browse the repository at this point in the history
  4. Supply --jsx react to tsc

    turt2live committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    751bcfb View commit details
    Browse the repository at this point in the history