mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-27 09:13:02 +00:00
Add missing semicolons
This commit is contained in:
parent
600aea4dbb
commit
30f0b1c30d
13 changed files with 45 additions and 45 deletions
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementBig = {
|
||||
type: 'big'
|
||||
content: string
|
||||
big: string
|
||||
type: 'big';
|
||||
content: string;
|
||||
big: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementBold = {
|
||||
type: 'bold'
|
||||
content: string
|
||||
bold: string
|
||||
type: 'bold';
|
||||
content: string;
|
||||
bold: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
import genHtml from '../core/syntax-highlighter';
|
||||
|
||||
export type TextElementCode = {
|
||||
type: 'code'
|
||||
content: string
|
||||
code: string
|
||||
html: string
|
||||
type: 'code';
|
||||
content: string;
|
||||
code: string;
|
||||
html: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementEmoji = {
|
||||
type: 'emoji'
|
||||
content: string
|
||||
emoji: string
|
||||
type: 'emoji';
|
||||
content: string;
|
||||
emoji: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementHashtag = {
|
||||
type: 'hashtag'
|
||||
content: string
|
||||
hashtag: string
|
||||
type: 'hashtag';
|
||||
content: string;
|
||||
hashtag: string;
|
||||
};
|
||||
|
||||
export default function(text: string, i: number) {
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
import genHtml from '../core/syntax-highlighter';
|
||||
|
||||
export type TextElementInlineCode = {
|
||||
type: 'inline-code'
|
||||
content: string
|
||||
code: string
|
||||
html: string
|
||||
type: 'inline-code';
|
||||
content: string;
|
||||
code: string;
|
||||
html: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
*/
|
||||
|
||||
export type TextElementLink = {
|
||||
type: 'link'
|
||||
content: string
|
||||
title: string
|
||||
url: string
|
||||
silent: boolean
|
||||
type: 'link';
|
||||
content: string;
|
||||
title: string;
|
||||
url: string;
|
||||
silent: boolean;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -5,11 +5,11 @@ import parseAcct from '../../../misc/acct/parse';
|
|||
import { toUnicode } from 'punycode';
|
||||
|
||||
export type TextElementMention = {
|
||||
type: 'mention'
|
||||
content: string
|
||||
canonical: string
|
||||
username: string
|
||||
host: string
|
||||
type: 'mention';
|
||||
content: string;
|
||||
canonical: string;
|
||||
username: string;
|
||||
host: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementMotion = {
|
||||
type: 'motion'
|
||||
content: string
|
||||
motion: string
|
||||
type: 'motion';
|
||||
content: string;
|
||||
motion: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementQuote = {
|
||||
type: 'quote'
|
||||
content: string
|
||||
quote: string
|
||||
type: 'quote';
|
||||
content: string;
|
||||
quote: string;
|
||||
};
|
||||
|
||||
export default function(text: string, index: number) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementSearch = {
|
||||
type: 'search'
|
||||
content: string
|
||||
query: string
|
||||
type: 'search';
|
||||
content: string;
|
||||
query: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementTitle = {
|
||||
type: 'title'
|
||||
content: string
|
||||
title: string
|
||||
type: 'title';
|
||||
content: string;
|
||||
title: string;
|
||||
};
|
||||
|
||||
export default function(text: string, i: number) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
|
||||
export type TextElementUrl = {
|
||||
type: 'url'
|
||||
content: string
|
||||
url: string
|
||||
type: 'url';
|
||||
content: string;
|
||||
url: string;
|
||||
};
|
||||
|
||||
export default function(text: string) {
|
||||
|
|
Loading…
Reference in a new issue