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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Related to hybridsjs/hybrids#173.
The text was updated successfully, but these errors were encountered:
Some updates: I made a svelte app where to import and test <trend-line>. Note that the web-component module is installed from the local disk:
<trend-line>
"dependencies": { "@nextbitlabs/trend-line": "file:../trend-line", ... },
My first attempt was to add file index.d.ts in module trend-line as suggested in hybridsjs/hybrids#173:
index.d.ts
trend-line
declare global { interface HTMLElementTagNameMap { 'trend-line': TrendLine; } }
But, with or without file index.d.ts, I do not see any error. Should I expect any error or warning from TypeScript?
I noted there is a config file for TypeScript:
{ "extends": "@tsconfig/svelte/tsconfig.json", "include": ["src/**/*"], "exclude": ["node_modules/*", "__sapper__/*", "public/*"] }
I added the local path to module trend-line, but without success.
I definitively need to wrap my head around TS.
@nkint Do you have any suggestion?
Sorry, something went wrong.
No branches or pull requests
Related to hybridsjs/hybrids#173.
The text was updated successfully, but these errors were encountered: