Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.18 KB

CHANGELOG.md

File metadata and controls

61 lines (33 loc) · 1.18 KB

vue-types

5.1.2

Patch Changes

  • 9f5ba17: Include provenance statements to the package

5.1.1

Patch Changes

  • 30673ac: The exports declarations in package.json were missing the type subpath. See #419

5.1.0

Minor Changes

  • ec32a30: Force stricter type for the .validate(fn) function arguments:

    // Before: v is of type unknown
    string().validate((v) => v === "Hello"); // <-- TS error!
    
    // After: v is of type string
    string().validate((v) => v === "Hello"); // <-- Works!

    This should not be a breaking change, but you should be aware of the new behavior.

5.0.4

Patch Changes

  • 9dfa28b: Allow the user to pass async functions as function props. Closes #397

5.0.4-next.0

Patch Changes

  • 9dfa28b: Allow the user to pass async functions as function props. Closes #397

5.0.3

Patch Changes

  • 8cb1ccb: - Accepts null as valid value in validateType util

    • fix docs: nullable() should be used for nullable required props.

    Closes #383

5.0.3-next.0

Patch Changes

  • 8cb1ccb: - Accepts null as valid value in validateType util

    • fix docs: nullable() should be used for nullable required props.

    Closes #383