Skip to content

Commit

Permalink
Stricter type Formula.fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Dec 17, 2019
1 parent 0ea38a7 commit d41ef37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/formula.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
Quad_Subject,
Term,
} from './tf-types'
import Fetcher from './fetcher'

export interface FormulaOpts {
dataCallback?: (q: Quad) => void
Expand Down Expand Up @@ -63,7 +64,7 @@ export default class Formula extends Node {
*
* Is set by the fetcher when initialized.
*/
fetcher?: any
fetcher?: Fetcher

initBindings: ReadonlyArray<any>

Expand Down

0 comments on commit d41ef37

Please sign in to comment.