Convert js/modules/types/message to Typescript
This commit is contained in:
parent
9975758fde
commit
924c271b13
18 changed files with 748 additions and 398 deletions
|
@ -1491,7 +1491,7 @@ export function getPropsForAttachment(
|
|||
url: path
|
||||
? window.Signal.Migrations.getAbsoluteAttachmentPath(path)
|
||||
: undefined,
|
||||
screenshot: screenshot
|
||||
screenshot: screenshot?.path
|
||||
? {
|
||||
...screenshot,
|
||||
url: window.Signal.Migrations.getAbsoluteAttachmentPath(
|
||||
|
@ -1499,7 +1499,7 @@ export function getPropsForAttachment(
|
|||
),
|
||||
}
|
||||
: undefined,
|
||||
thumbnail: thumbnail
|
||||
thumbnail: thumbnail?.path
|
||||
? {
|
||||
...thumbnail,
|
||||
url: window.Signal.Migrations.getAbsoluteAttachmentPath(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue