vue3-notion
vue3-notion copied to clipboard
Could not find a declaration file for module
Describe the bug While this project is written in TS, it does not automatically provide types so any import results in this error:
error TS7016: Could not find a declaration file for module 'vue3-notion'. '/home/runner/work/example/node_modules/vue3-notion/dist/index.umd.js' implicitly has an 'any' type
To Reproduce Steps to reproduce the behavior:
- Import NotionRenderer to Vue3 SFC
<script lang="ts" setup>
import { NotionRenderer } from 'vue3-notion';
</script>
<template>
<NotionRenderer />
</template>
- Run typecheck
- See error
Expected behavior No type error