Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

TypeScript "main" or also TypeScript components? #2

@kylecordes

Description

@kylecordes

Hello, and thank you for publishing this.

One question sticks out though, and perhaps could be answered in the README:

Is the starter set up to offer TypeScript support only in the "main" and associated .ts files? Or is it also set up to offer TypeScript in the code inside of Svelte components? I could determine this experimentally if needed of course... but it seems for the sake of the next person to come along, having the answer sitting here would be good.

Incidentally, if it does support TypeScript in the components, I suggest adding a handful of conspicuous types to the component included in the repo:

https://github.com/brakmic/Svelte-TypeScript-WebPack-Starter/blob/master/src/app/components/main/main.sve

The script section of this component currently has no types... but of course TypeScript code sometimes has no types, relying on type inference to produce great value even without any explicit types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions