Comments (2)
Yes, there is an issue with the types not propagating correctly for certain TS configurations. We will investigate this, thanks for reporting.
The import itself should work correctly on the JS side.
from builder.
We ran into this (we're on NextJS 14.1) following the same instructions, the workaround is to manually declare the module (it is there in the package just not declared?)
Add something like decs.d.ts
to your root
declare module '@builder.io/sdk-react/node/init';
from builder.
Related Issues (20)
- "[Builder.io]: Failed code evaluation: Code generation from strings disallowed for this context" HOT 3
- Vue/Nuxt Documentation is confusing and incomplete HOT 4
- Qwik + Builer.io Section/page Models with repeaters - Maximum call stack size exceeded Error
- @builder.io/widgets depends on an old version of preact HOT 1
- Svelte: critical usability issue: styles do not apply during server-side-rendering due to `use:mitosis_styling` directive HOT 2
- Help : Custom block component using Qwik , Builder.io
- Builder content API does not return draft content when page is already published HOT 1
- Critical problem with the <Columns> component when using @builder.io/react-sdk HOT 2
- Page with data from builder are slow / crashing HOT 7
- Critical memory issue since 1.0.21 HOT 15
- Missing `folded` for `object` Input [typescript]
- Problem with translations link on block url HOT 2
- "isolated-vm import error" on Vercel with Nuxt HOT 1
- TypeScript readonly error
- Next.js 14 App Router using sdk-react-nextjs and Contentful
- React SDK wrong promises resolutions for parallel requests
- Visual editor is failing on trail plan HOT 1
- makeStateKey deprecation causes builder.io not to build in an Angular 18 project HOT 2
- Allow astro components to be registered by Builder.io
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from builder.