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
The inferred type of 'optional' cannot be named without a reference to '../../node_modules/@vinejs/vine/build/src/schema/base/literal.js'. This is likely not portable. A type annotation is necessary.ts(2742)
Reproduction repo
See error over optional function or try building the declaration files using npm run build:dts.
Package version
2.0.0
Describe the bug
When you try to export package that is using VineJS, you will get error because it cannot reference to modifier types like
OptionalModifier
.Example
Error
Reproduction repo
See error over
optional
function or try building the declaration files usingnpm run build:dts
.https://stackblitz.com/edit/stackblitz-starters-zoy77c
The text was updated successfully, but these errors were encountered: