Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f531ecd

Browse files
authoredMar 14, 2022
Merge pull request #551 from linkeddata/liveStore-types
Insist that ConnectedStore has a fetcher and LiveStore has an update…
2 parents 40d0a2b + dedeff2 commit f531ecd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎src/index.ts

+6
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,19 @@ export {
120120
export { termValue } from './utils/termValue'
121121

122122
export class ConnectedStore extends Store {
123+
124+
fetcher: Fetcher;
125+
123126
constructor (features) {
124127
super(features)
125128
this.fetcher = new Fetcher(this, {})
126129
}
127130
}
128131

129132
export class LiveStore extends ConnectedStore {
133+
134+
updater: UpdateManager;
135+
130136
constructor (features) {
131137
super(features)
132138
this.updater = new UpdateManager(this)

‎src/rdfxmlparser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export default class RDFParser {
198198

199199
/**
200200
* Build our initial scope frame and parse the DOM into triples
201-
* @param {DOMTree} document The DOM to parse
201+
* @param {HTMLDocument} document The DOM to parse
202202
* @param {String} base The base URL to use
203203
* @param {Object} why The context to which this resource belongs
204204
*/

0 commit comments

Comments
 (0)
Please sign in to comment.