Skip to content

Commit 991abc0

Browse files
committed
fix type errors in matrix.ts
1 parent c7575cb commit 991abc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/matrix/matrix.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function matrixForQuery (
3333
vy: $rdf.Variable,
3434
vvalue: $rdf.Variable,
3535
options: MatrixOptions,
36-
whenDone: Function
36+
whenDone: () => void
3737
) {
3838
// @@ TODO Remove need to cast to any
3939
const matrix: any = dom.createElement('table')
@@ -71,7 +71,7 @@ export function matrixForQuery (
7171
header.setAttribute('style', 'padding: 0.3em;')
7272
header.textContent = utils.label(y1) // first approximation
7373
if (y1.termType === 'NamedNode') {
74-
kb.fetcher.nowOrWhenFetched(y1.uri.split('#')[0], undefined, function (
74+
kb.fetcher!.nowOrWhenFetched(y1.uri.split('#')[0], undefined, function (
7575
ok,
7676
_body,
7777
_response

0 commit comments

Comments
 (0)