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

fix(ui): Fix $q.loading type #14395

Merged

Conversation

yusufkandemir
Copy link
Member

@yusufkandemir yusufkandemir commented Sep 15, 2022

What kind of change does this PR introduce?

  • Bugfix

The PR fulfills these requirements:

  • It's submitted to the dev branch (or v[X] branch)

Other information:

-    loading: (
-      opts?: QLoadingShowOptions
-    ) => (props?: QLoadingUpdateOptions) => void;
+    loading: Loading;

tsInjectionPoint is for usage like $q.loading(), but we don't have that for the Loading plugin, we do $q.loading.show(), $q.loading.hide(), etc. instead. So, we must not use tsInjectionPoint.

Introduced in dc2da29

```diff
-    loading: (
-      opts?: QLoadingShowOptions
-    ) => (props?: QLoadingUpdateOptions) => void;
+    loading: Loading;
```
@rstoenescu rstoenescu merged commit 1b3735a into quasarframework:dev Sep 15, 2022
@yusufkandemir yusufkandemir deleted the fix-q-loading-plugin-type branch September 16, 2022 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants