Skip to content

Typescript support #19

Description

@frozar

The rewind feature in a SolidJS is really a must for me, so thank you for your effort in this direction.

I'm trying to use your projet in my application, and in VSCode, at the import line:

import Rewind from "solid-rewind";

I get the following error from TypeScript:

Could not find a declaration file for module 'solid-rewind'. '/home/frozar/wk/flaxib/wk/scolaire/front/node_modules/solid-rewind/src/Rewind.jsx' implicitly has an 'any' type.
  Try `npm i --save-dev @types/solid-rewind` if it exists or add a new declaration (.d.ts) file containing `declare module 'solid-rewind';`ts(7016)

I tried the proposed command npm i --save-dev @types/solid-rewind but the package is not available.

Do you plan to support TypeScript natively?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions