You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
Granted this is for plain .js files most likely, but still.
When using lsp-factory package in typescript, I get following warnings, which are annoying. The code still works, just issues with importing in .ts files.
Import trace for requested module:
./node_modules/@lukso/lsp-factory.js/build/module/src/lib/helpers/config.helper.js
./node_modules/@lukso/lsp-factory.js/build/module/src/lib/classes/universal-profile.js
./node_modules/@lukso/lsp-factory.js/build/module/src/index.js
./components/assets/Assets.tsx
./app/portfolio/page.tsx
⚠ ./node_modules/@lukso/lsp-factory.js/build/module/src/lib/helpers/config.helper.js
Should not import the named export 'version' (imported as 'lspSmartContractsVersion') from default-exporting module (only default export is available soon)
Import trace for requested module:
./node_modules/@lukso/lsp-factory.js/build/module/src/lib/helpers/config.helper.js
./node_modules/@lukso/lsp-factory.js/build/module/src/lib/classes/universal-profile.js
./node_modules/@lukso/lsp-factory.js/build/module/src/index.js
./components/assets/Assets.tsx
./app/portfolio/page.tsx
⚠ ./node_modules/@lukso/lsp-factory.js/build/module/src/lib/helpers/config.helper.js
Should not import the named export 'version' (imported as 'lspSmartContractsVersion') from default-exporting module (only default export is available soon)
Import trace for requested module:
./node_modules/@lukso/lsp-factory.js/build/module/src/lib/helpers/config.helper.js
./node_modules/@lukso/lsp-factory.js/build/module/src/lib/classes/universal-profile.js
./node_modules/@lukso/lsp-factory.js/build/module/src/index.js
./components/assets/Assets.tsx
./app/portfolio/page.tsx
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
Improvement suggestion
Summary
Granted this is for plain .js files most likely, but still.
When using lsp-factory package in typescript, I get following warnings, which are annoying. The code still works, just issues with importing in
.ts
files.The text was updated successfully, but these errors were encountered: