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

Add .d.ts files for improved TypeScript support #33

Merged
merged 5 commits into from
Dec 7, 2023

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    a45efb7 View commit details
    Browse the repository at this point in the history
  2. Issue #30: Reworking TypeScript types in JSDoc. Making Svelte compone…

    …nt a "newable" constructor type and also fixing the optional types by defining their defaults, so the generated .d.ts properly suffixes the "?" at the end of each optional field.
    patricknelson committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    4711ada View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0cf3426 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1efa138 View commit details
    Browse the repository at this point in the history
  5. Issue #30: Using 'CmpConstructor' instead of 'SvelteComponent' as the…

    … custom type for 'component' to prevent any confusion with an actual Svelte type.
    patricknelson committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    ef5955f View commit details
    Browse the repository at this point in the history