File tree 3 files changed +6
-4
lines changed
angular-query-experimental/etc
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ import { InjectOptions } from '@angular/core';
17
17
import { Injector } from ' @angular/core' ;
18
18
import type { MutateFunction } from ' @tanstack/query-core' ;
19
19
import type { Mutation } from ' @tanstack/query-core' ;
20
- import { MutationFilters } from ' @tanstack/query-core' ;
20
+ import type { MutationFilters } from ' @tanstack/query-core' ;
21
21
import type { MutationObserverOptions } from ' @tanstack/query-core' ;
22
22
import type { MutationObserverResult } from ' @tanstack/query-core' ;
23
23
import type { MutationState } from ' @tanstack/query-core' ;
24
24
import type { OmitKeyof } from ' @tanstack/query-core' ;
25
25
import { Provider } from ' @angular/core' ;
26
26
import type { QueriesPlaceholderDataFunction } from ' @tanstack/query-core' ;
27
27
import type { QueryClient } from ' @tanstack/query-core' ;
28
- import { QueryFilters } from ' @tanstack/query-core' ;
28
+ import type { QueryFilters } from ' @tanstack/query-core' ;
29
29
import type { QueryFunction } from ' @tanstack/query-core' ;
30
30
import type { QueryKey } from ' @tanstack/query-core' ;
31
31
import type { QueryObserverOptions } from ' @tanstack/query-core' ;
Original file line number Diff line number Diff line change @@ -305,7 +305,8 @@ export function isPlainArray(value: unknown) {
305
305
}
306
306
307
307
// Copied from: https://github.com/jonschlinkert/is-plain-object
308
- export function isPlainObject ( o : any ) : o is object {
308
+ // eslint-disable-next-line @typescript-eslint/no-wrapper-object-types
309
+ export function isPlainObject ( o : any ) : o is Object {
309
310
if ( ! hasObjectPrototype ( o ) ) {
310
311
return false
311
312
}
Original file line number Diff line number Diff line change @@ -96,7 +96,8 @@ export function cloneDeepUnref<T>(
96
96
} )
97
97
}
98
98
99
- function isPlainObject ( value : unknown ) : value is object {
99
+ // eslint-disable-next-line @typescript-eslint/no-wrapper-object-types
100
+ function isPlainObject ( value : unknown ) : value is Object {
100
101
if ( Object . prototype . toString . call ( value ) !== '[object Object]' ) {
101
102
return false
102
103
}
You can’t perform that action at this time.
0 commit comments