Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function createGridSearchService(model: JSONModel): GridSearchService {
const grid = new DataGrid();
grid.dataModel = model;
return new GridSearchService(grid);
}
function createGridSearchService(model: JSONModel): GridSearchService {
const grid = new DataGrid();
grid.model = model;
return new GridSearchService(grid);
}