Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. export default createComponent({
  2. name: "UserAlerts",
  3. props: {
  4. user: Object as any as User,
  5. alerts: Array as any as Alert[],
  6. },
  7. setup(props) {
  8. // Typescript infers typeof 'props' to be:
  9. // {
  10. // user: User,
  11. // alerts: Alert[],
  12. // }
  13. },
  14. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement