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

Typescript support #19

Open
frozar opened this issue Jan 28, 2023 · 1 comment
Open

Typescript support #19

frozar opened this issue Jan 28, 2023 · 1 comment

Comments

@frozar
Copy link

frozar commented Jan 28, 2023

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?

@willemrosenthal
Copy link
Contributor

Hi, thanks for briging this to our attention,
We'll get right on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants