We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When try to use the TSX file as import ReactSummernote from 'react-summernote';
import ReactSummernote from 'react-summernote';
How can i create definition file for Summernote.jsx so that i dont get react-summernote module not found.
and where i need to place that file and code snippet for the d.ts file.
Thanks,
The text was updated successfully, but these errors were encountered:
I followed these instructions https://www.detroitlabs.com/blog/2018/02/28/adding-custom-type-definitions-to-a-third-party-library/ I didn't type anything just created a bare bones *.d.ts file
create directory typings_custom at project root
mkdir typings_custom
create type file
touch typings_custom/react-summernote.d.ts
add line to react-summernote.d.ts declare module 'react-summernote'
update tscongif.js to use new custom typing directory
"include": [ "./typings_custom/**/*.ts" ],
Sorry, something went wrong.
No branches or pull requests
When try to use the TSX file as
import ReactSummernote from 'react-summernote';
How can i create definition file for Summernote.jsx so that i dont get react-summernote module not found.
and where i need to place that file and code snippet for the d.ts file.
Thanks,
The text was updated successfully, but these errors were encountered: