Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Arif-Khalid committed Feb 17, 2024
1 parent e6f3b8e commit 511c4f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/core/services/issue-table-settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import { TableSettings } from '../models/table-settings.model';
* Map is required since there can be multiple tables within the same page
*/
export class IssueTableSettingsService {
private _tableSettingsMap = {};
private _tableSettingsMap: { [index: string]: TableSettings } = {};

public getTableSettings(tableName: string) {
console.log(this._tableSettingsMap);
return this._tableSettingsMap[tableName] || new TableSettings();
}

Expand Down

0 comments on commit 511c4f5

Please sign in to comment.