mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 09:35:38 -05:00
fix filter not applied issue (#15186)
This commit is contained in:
@@ -59,3 +59,11 @@ export interface IDisposableDataProvider<T> extends Slick.DataProvider<T> {
|
||||
*/
|
||||
readonly isDataInMemory: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether the object is an instance of IDisposableDataProvider
|
||||
*/
|
||||
export function instanceOfIDisposableDataProvider<T>(obj: any): obj is IDisposableDataProvider<T> {
|
||||
const provider = obj as IDisposableDataProvider<T>;
|
||||
return obj && provider.dispose && provider.sort && provider.isDataInMemory !== undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user