changeset 6:a5bc13dcce41

why does import work but accessing the imported thing make it say "Module not found"?
author drewp@bigasterisk.com
date Wed, 04 Dec 2019 01:06:33 -0800
parents 8aa42fa04b17
children daf08d794660
files src/streamed-graph.ts src/streamed_graph_client.ts
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/streamed-graph.ts	Wed Dec 04 00:32:24 2019 -0800
+++ b/src/streamed-graph.ts	Wed Dec 04 01:06:33 2019 -0800
@@ -12,6 +12,8 @@
 
 import { StreamedGraphClient } from './streamed_graph_client';
 
+console.log(StreamedGraphClient);
+
 @customElement('streamed-graph')
 class StreamedGraph extends PolymerElement {
     @property({ type: String })
--- a/src/streamed_graph_client.ts	Wed Dec 04 00:32:24 2019 -0800
+++ b/src/streamed_graph_client.ts	Wed Dec 04 01:06:33 2019 -0800
@@ -106,10 +106,6 @@
     patchGraph(patchJson: string, done: () => void) {
         var patch = JSON.parse(patchJson).patch;
 
-        // if (!this.store) {
-        //     throw new Error('store ' + this.store);
-        // }
-
         async.series([
             // (done) => {
             //     eachJsonLdQuad(this.store.rdf, patch.deletes,