Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Could not find a declaration file for module '@toast-ui/react-calendar' #10

Closed
srud-salam opened this issue Aug 21, 2019 · 2 comments
Closed
Labels

Comments

@srud-salam
Copy link

Version

"@toast-ui/react-calendar": "^1.0.2",

Test Environment

SharePoint Framework Extension

Current Behavior

It works but throws a type warning, thought to raise:
Could not find a declaration file for module '@toast-ui/react-calendar'. responsive-calendar/node_modules/@toast-ui/react-calendar/dist/toastui-react-calendar.js' implicitly has an 'any' type.
Try npm install @types/toast-ui__react-calendar if it exists or add a new declaration (.d.ts) file containing declare module '@toast-ui/react-calendar';

// Write example code

Expected Behavior

Support Typescript please, thank you in advance

@jungeun-cho
Copy link
Contributor

@srud-salam
Sooner or later, declaration files will be added to the wrapper(vue-wrapper, react-wrapper) repository.
If you are in a hurry
https://github.com/nhn/tui.calendar/blob/master/index.d.ts
See here.

@srud-salam
Copy link
Author

thank you

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

No branches or pull requests

2 participants