Created
February 28, 2021 02:08
-
-
Save arturovt/7b4b971e6a9703de40eb268d812625d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ArticleComponent { | |
constructor(t, e, o, n, r) { | |
this.article$ = e.params.pipe( | |
Object(l.a)(t => { | |
const e = Object(i.e)(`article:${t.id}`); | |
return r.get(e, null); | |
}), | |
); | |
} | |
} | |
ArticleComponent.ɵfac = function (t) { | |
return new (t || ArticleComponent)(c.Db(u.a), c.Db(r.a), c.Db(c.C), c.Db(i.c), c.Db(i.d)); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment