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

Import Error: Typescript Support #2

Open
3 of 8 tasks
Ikalli opened this issue Oct 20, 2021 · 2 comments
Open
3 of 8 tasks

Import Error: Typescript Support #2

Ikalli opened this issue Oct 20, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Ikalli
Copy link

Ikalli commented Oct 20, 2021

Type + Version

  • xss
  • sqlinjection
  • core
  • other:

Version:

0.0.1

Description

Nice module, but it doesn't seem to support TypeScript

Could not find a declaration file for module 'cumulus'. 'p:/next-test/test-for-cumulus/node_modules/cumulus/src/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/cumulus` if it exists or add a new declaration (.d.ts) file containing `declare module 'cumulus';

Please make type modules if you can!🙏

@tinyjin
Copy link
Contributor

tinyjin commented Oct 20, 2021

oh, yeah!
Its great point.

we never thought about support to typescript based project.
I love typescript, too.

actually, this version I used only javascript because of our team had the deadline, you know lol.

alright, Im gonna make it support typescript ASAP.

@tinyjin tinyjin self-assigned this Oct 20, 2021
@tinyjin tinyjin added the enhancement New feature or request label Oct 20, 2021
@tinyjin
Copy link
Contributor

tinyjin commented Oct 20, 2021

For suggestion @Ikalli
There is one way to use cumulus SDK with typescript.

you can use with @ts-ignore.
plz reference this one!

https://github.com/tophat-cloud/cumulus/tree/main/examples/angular

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

No branches or pull requests

2 participants