adapt to slight differences in linting (#842)

grist-saas and grist-core builds have slight differences in the depth of type information inferred.
This commit is contained in:
Paul Fitzpatrick
2024-02-05 09:42:57 -05:00
committed by GitHub
parent fe2089710e
commit 23456ca43d
2 changed files with 3 additions and 0 deletions

View File

@@ -430,6 +430,7 @@ export class ActiveDocImport {
const columnData: BulkColValues = {};
const srcCols = await this._activeDoc.getTableCols(docSession, hiddenTableId);
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
const srcColIds = srcCols.map(c => c.id as string);
// Only include destination columns that weren't skipped.