mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-30 11: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 = {
|
export type TextElementBig = {
|
||||||
type: 'big'
|
type: 'big';
|
||||||
content: string
|
content: string;
|
||||||
big: string
|
big: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementBold = {
|
export type TextElementBold = {
|
||||||
type: 'bold'
|
type: 'bold';
|
||||||
content: string
|
content: string;
|
||||||
bold: string
|
bold: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
import genHtml from '../core/syntax-highlighter';
|
import genHtml from '../core/syntax-highlighter';
|
||||||
|
|
||||||
export type TextElementCode = {
|
export type TextElementCode = {
|
||||||
type: 'code'
|
type: 'code';
|
||||||
content: string
|
content: string;
|
||||||
code: string
|
code: string;
|
||||||
html: string
|
html: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementEmoji = {
|
export type TextElementEmoji = {
|
||||||
type: 'emoji'
|
type: 'emoji';
|
||||||
content: string
|
content: string;
|
||||||
emoji: string
|
emoji: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementHashtag = {
|
export type TextElementHashtag = {
|
||||||
type: 'hashtag'
|
type: 'hashtag';
|
||||||
content: string
|
content: string;
|
||||||
hashtag: string
|
hashtag: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string, i: number) {
|
export default function(text: string, i: number) {
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
import genHtml from '../core/syntax-highlighter';
|
import genHtml from '../core/syntax-highlighter';
|
||||||
|
|
||||||
export type TextElementInlineCode = {
|
export type TextElementInlineCode = {
|
||||||
type: 'inline-code'
|
type: 'inline-code';
|
||||||
content: string
|
content: string;
|
||||||
code: string
|
code: string;
|
||||||
html: string
|
html: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementLink = {
|
export type TextElementLink = {
|
||||||
type: 'link'
|
type: 'link';
|
||||||
content: string
|
content: string;
|
||||||
title: string
|
title: string;
|
||||||
url: string
|
url: string;
|
||||||
silent: boolean
|
silent: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -5,11 +5,11 @@ import parseAcct from '../../../misc/acct/parse';
|
||||||
import { toUnicode } from 'punycode';
|
import { toUnicode } from 'punycode';
|
||||||
|
|
||||||
export type TextElementMention = {
|
export type TextElementMention = {
|
||||||
type: 'mention'
|
type: 'mention';
|
||||||
content: string
|
content: string;
|
||||||
canonical: string
|
canonical: string;
|
||||||
username: string
|
username: string;
|
||||||
host: string
|
host: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementMotion = {
|
export type TextElementMotion = {
|
||||||
type: 'motion'
|
type: 'motion';
|
||||||
content: string
|
content: string;
|
||||||
motion: string
|
motion: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementQuote = {
|
export type TextElementQuote = {
|
||||||
type: 'quote'
|
type: 'quote';
|
||||||
content: string
|
content: string;
|
||||||
quote: string
|
quote: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string, index: number) {
|
export default function(text: string, index: number) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementSearch = {
|
export type TextElementSearch = {
|
||||||
type: 'search'
|
type: 'search';
|
||||||
content: string
|
content: string;
|
||||||
query: string
|
query: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementTitle = {
|
export type TextElementTitle = {
|
||||||
type: 'title'
|
type: 'title';
|
||||||
content: string
|
content: string;
|
||||||
title: string
|
title: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string, i: number) {
|
export default function(text: string, i: number) {
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type TextElementUrl = {
|
export type TextElementUrl = {
|
||||||
type: 'url'
|
type: 'url';
|
||||||
content: string
|
content: string;
|
||||||
url: string
|
url: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function(text: string) {
|
export default function(text: string) {
|
||||||
|
|
Loading…
Reference in a new issue