Mercurial > code > home > repos > streamed-graph
diff src/index.ts @ 38:d4036715028b
try exporting the PolymerElement so it can be depended on and therefore not culled by tree-shaking
author | drewp@bigasterisk.com |
---|---|
date | Sun, 29 Dec 2019 19:43:25 -0800 |
parents | 8b4dc9e87b56 |
children | 895ae7c5b0f4 |
line wrap: on
line diff
--- a/src/index.ts Sun Dec 29 19:42:52 2019 -0800 +++ b/src/index.ts Sun Dec 29 19:43:25 2019 -0800 @@ -10,13 +10,13 @@ import { StreamedGraphClient } from "./streamed_graph_client"; export { StreamedGraphClient } from "./streamed_graph_client"; -interface VersionedGraph { +export interface VersionedGraph { version: number; store: N3Store | undefined; } @customElement("streamed-graph") -class StreamedGraph extends PolymerElement { +export class StreamedGraph extends PolymerElement { @property({ type: String }) url: string = "";