Mercurial > code > home > repos > streamed-graph
changeset 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 | 6a1d158d6ca4 |
children | f551a089a98f |
files | src/index.ts |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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 = "";