-
Notifications
You must be signed in to change notification settings - Fork 43
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
Could not find a declaration file for module 'fractional'. #19
Comments
I am not familiar with how to update the library to be compatible. Does anyone have a suggestion? |
I have the same issue does anybody have a solution "Fraction is not defined"? |
First of all, make sure the NodeJs is installed in your computer. after that you must install a package by this command
|
does not work |
@ChrisOxygen this shouldn't be an issue if you have used |
Same error again :-( |
doesn't work ☹ |
Could not find a declaration file for module 'fractional'. '/Users/andi/Downloads/funny/node_modules/fractional/index.js' implicitly has an 'any' type. Up to this point I haven't found a solution to fix this. :( |
This is a typescript error.
As the end user, you can create a As the package maintainer, you can write types, add them to the project, and publish a new version. As a friendly open-source contributor, you can write types and PR to either this repo (although it looks kinda dead) or to https://github.com/DefinitelyTyped/DefinitelyTyped. |
I am using ES6 and while importing i.e. import { Fraction } from 'fractional', code does not compile and error says could not find a declaration file for module 'fractional.' I also tried import * as fraction from 'fractional'.
But dint work.
The text was updated successfully, but these errors were encountered: