Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default export of the module has or is using private name 'Slots/Props'. #1050

Open
steven-twerdochlib opened this issue Nov 22, 2024 · 0 comments
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working

Comments

@steven-twerdochlib
Copy link

Describe the bug

I'm getting these errors:
Default export of the module has or is using private name 'Slots'.
Default export of the module has or is using private name 'Props'.
When importing this: import VueDatePicker from '@vuepic/vue-datepicker';

Note: this doesn't affect functionality but it's annoying to see in the code.

<script lang="ts">
// @ts-nocheck
import '@vuepic/vue-datepicker/dist/main.css';
import { defineComponent } from 'vue';
import { mapState } from 'vuex';
import VueDatePicker from '@vuepic/vue-datepicker';

export default defineComponent({
  name: 'DatePicker',
  props: {
    ...
  },
  data: () => ({
    ...
  }),
  computed: {
    ...mapState({
      ...
    }),
    ...
  },
  watch: {
....
  },
  components: {
    VueDatePicker
  }
});
</script>
@steven-twerdochlib steven-twerdochlib added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant