johndatserakis/koa-vue-notes-web

Invalid prop: type check failed for prop "id"

gokaybiz opened this issue · 1 comments

[Vue warn]: Invalid prop: type check failed for prop "id". Expected String with value "123", got Number with value 123.

found in

---> <EditNote> at src/components/layouts/program/EditNote.vue
       <App> at src/App.vue
         <Root>

  props: {
    id: {
      type: Number,
      required: true,
    },
  }

Thank you for this. Fixed in #9.