Skip to content

Commit

Permalink
fix: Fix Card.{width,height} to be number (#745)
Browse files Browse the repository at this point in the history
* update Filter interface

* fix: wholeWord type to boolean

* feat: FilterResult interface; filtered optional status prop

* chore(release): 4.7.3 [skip ci]

## [4.7.3](v4.7.2...v4.7.3) (2022-12-02)

### Bug Fixes

* Use builtin Object.fromEntries ([6a64264](6a64264))

* chore: add eslintcache (#737)

* update Filter interface

* fix: wholeWord type to boolean

* fix: import type

* refactor: fix imports

* refactor: fix linting complaints

* fix: wrong property casing

* fix: Card.width and .height types

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Simon He <57086651+Simon-He95@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 4, 2022
1 parent 61d7978 commit 8941096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entities/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export interface Card {
/** HTML to be used for generating the preview card. */
html?: string | null;
/** Width of preview, in pixels. */
width?: string | null;
width?: number | null;
/** Height of preview, in pixels. */
height?: string | null;
height?: number | null;
/** Preview thumbnail. */
image?: string | null;
/** Used for photo embeds, instead of custom `html`. */
Expand Down

0 comments on commit 8941096

Please sign in to comment.