@d-mok/quasar-app-extension-quasar-axe 2.1.18 → 2.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "2.1.18",
3
+ "version": "2.1.19",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -216,10 +216,10 @@ export async function showArray(
216
216
  /**
217
217
  * Ask to select a file.
218
218
  */
219
- export async function askFile<T>(
219
+ export async function askFile(
220
220
  title: string,
221
221
  message: string = ''
222
- ): Promise<T> {
222
+ ): Promise<File> {
223
223
  return await base(dialogFile, {
224
224
  title,
225
225
  message,
@@ -42,7 +42,7 @@ defineEmits([...useDialogPluginComponent.emits])
42
42
  const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
43
43
  useDialogPluginComponent()
44
44
 
45
- let file = ref(null)
45
+ let file = ref<File | null>(null)
46
46
 
47
47
  const props = defineProps<{
48
48
  title: string