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

(fix) mark props as optional in ts when no typings given #370

Merged

Commits on Jul 27, 2020

  1. (fix) mark props as optional in ts when no typings given

    Before this, `export let a = ''` would not be marked as optional because it had no type.
    sveltejs#347
    
    Also fixes a bug where file type was incorrectly inferred as jsx which occurs when user uses the default languages feature of svelte-preprocess. Instead of computing the file type inside svelte2tsx, it is now passed as an option.
    Simon Holthausen committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    ba29896 View commit details
    Browse the repository at this point in the history