chore: fixing few type issues

This commit is contained in:
Kacper Kula 2025-04-02 17:05:20 +01:00
parent 97ec36218f
commit beedfaab7c
2 changed files with 2 additions and 2 deletions

View file

@ -57,7 +57,7 @@ export class ListRenderer implements RendererConfig {
text: createEl('span', { text: c, cls: 'sqlseal-column-name' }) as any, // FIXME: this should be properly typed
cls: singleCol ? ['sqlseal-list-element', 'sqlseal-list-element-single'] : ['sqlseal-list-element-single']
})
const val = cellParser.render(d[c])
const val: any = cellParser.render(d[c])
el.append(val)
el.dataset.sqlsealColumn = c
})

View file

@ -5,7 +5,7 @@ import { RenameColumnModal } from '../modal/renameColumnModal';
import { CodeSampleModal } from '../modal/showCodeSample';
import { GridRenderer } from '../renderer/GridRenderer';
import { errorNotice } from '../utils/notice';
import { ModernCellParser } from 'src/cellParser/ModernCellParser';
import { ModernCellParser } from '../cellParser/ModernCellParser';
export const CSV_VIEW_TYPE = "csv-viewer" as const;
export const CSV_VIEW_EXTENSIONS = ['csv'];