Giter VIP home page Giter VIP logo

Comments (7)

kevinv11n avatar kevinv11n commented on June 6, 2024

@caridy You mentioned there were other gaps in engine.d.ts. Can we merge this with that issue or repurpose this to cover it all?

from lwc.

caridy avatar caridy commented on June 6, 2024

The idea is to eliminate engine.d.ts as a manual file, and produce one as part of the build process. @rsalvador and I decided to keep this around because it was easier, but right after the next cut, we should remove that.

The concern is mostly that a generated file will contain everything, while devs will only have access to some things, other are meant to be used for other tools (e.g.: Aura), and we haven't found an easy way to have that split in the types as well.

from lwc.

rsalvador avatar rsalvador commented on June 6, 2024

For the lwc-language-service we will also need an updated engine.d.ts for 214

from lwc.

rsalvador avatar rsalvador commented on June 6, 2024

Here I was adding a missing method: #60
After that I did look a little into how to generate the engine.d.ts automatically but it did look pretty complicated to generate the equivalent of engine.d.ts

from lwc.

caridy avatar caridy commented on June 6, 2024

Is this still an issue @rsalvador @kevinv11n ?

from lwc.

rsalvador avatar rsalvador commented on June 6, 2024

We can close this, the wire def was updated here: a091304

from lwc.

kevinv11n avatar kevinv11n commented on June 6, 2024

Config bag needs to be optional. I'll issue a PR shortly.

from lwc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.