Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let statistics = this.video.getStatistics();
- let currentLikeCount : number = statistics!.getLikeCount() ? statistics.getLikeCount() : 1;
- error TS2322: Type 'number | null' is not assignable to type 'number'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement