Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 770 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 770 Bytes

Veturpack

A Vue project with minimal setup and dependencies for reproducing vetur#2898 and vue-next#3760.

Usage

  • Install latest version of Vetur
  • git clone [email protected]:octref/veturpack.git
  • cd veturpack
  • yarn install
  • code .

Things to Try

  • Set "strict": true in the tsconfig that manages the vue file in question.
  • Create a function callback signature type to use as a prop type
  • Add a prop whose type is Function and default is null
  • Augment the function type with a PropType that includes your custom callback signature and null
  • Observe error

License

MIT