tech-insights-backend: fixed type assignment

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-01-20 21:44:47 +01:00
parent bed2da46af
commit ad0a7eb088
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-insights-backend': patch
---
Fixed invalid access that caused an immediate crash with a `TypeError` when loading the package.
@@ -28,7 +28,8 @@ import { DateTime } from 'luxon';
import { Logger } from 'winston';
import { parseEntityName, stringifyEntityRef } from '@backstage/catalog-model';
import { isMaxItems, isTtl } from '../fact/factRetrievers/utils';
import Transaction = Knex.Transaction;
type Transaction = Knex.Transaction;
export type RawDbFactRow = {
id: string;