UNPKG

@rr0/data

Version:
10 lines (9 loc) 440 B
import { Article } from "./Article.js"; import { RR0EventFactory } from "../event/RR0EventFactory.js"; import { TypedDataFactory } from "../TypedDataFactory.js"; import { RR0DataJson } from "../RR0DataJson.js"; export type ArticleDataJson = RR0DataJson; export declare class ArticleFactory extends TypedDataFactory<Article, ArticleDataJson> { constructor(eventFactory: RR0EventFactory); parse(dataJson: ArticleDataJson): Article; }