[ Bug Report ] Using the new useNotification
gives errors with TypeScript
#298
Labels
bug
Something isn't working
useNotification
gives errors with TypeScript
#298
Environment
Current Behavior
When looking at the declarations file, I find this
So it's actually expecting two parameters.
Expected Behavior
I should be able to use
notification()
with only theoptions
parameter.Steps To Reproduce
<script setup lang="ts">
in any Vue component.Anything else?
Is the documentation outdated or is the declaration wrong?
The text was updated successfully, but these errors were encountered: