Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
vue-template-compiler module types do not express the correct optional properties #10812
Steps to reproduce
Issue is surfaced by CodeSandbox' typescript linter - just load the sandbox.
What is expected?
vue-template-compiler should accept modules with 0 or more of the following properties:
What is actually happening?
vue-template-compiler requires modules to have all
Ran into this while developing a custom template compiler module. It doesn't effect output or compiler functionality in any way, but it does impact developer experience.
Fixed by #10743