0
0

Add missing semicolons

This commit is contained in:
syuilo 2018-11-03 22:38:12 +09:00
parent 600aea4dbb
commit 30f0b1c30d
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
13 changed files with 45 additions and 45 deletions

View File

@ -3,9 +3,9 @@
*/
export type TextElementBig = {
type: 'big'
content: string
big: string
type: 'big';
content: string;
big: string;
};
export default function(text: string) {

View File

@ -3,9 +3,9 @@
*/
export type TextElementBold = {
type: 'bold'
content: string
bold: string
type: 'bold';
content: string;
bold: string;
};
export default function(text: string) {

View File

@ -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) {

View File

@ -3,9 +3,9 @@
*/
export type TextElementEmoji = {
type: 'emoji'
content: string
emoji: string
type: 'emoji';
content: string;
emoji: string;
};
export default function(text: string) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -3,9 +3,9 @@
*/
export type TextElementMotion = {
type: 'motion'
content: string
motion: string
type: 'motion';
content: string;
motion: string;
};
export default function(text: string) {

View File

@ -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) {

View File

@ -3,9 +3,9 @@
*/
export type TextElementSearch = {
type: 'search'
content: string
query: string
type: 'search';
content: string;
query: string;
};
export default function(text: string) {

View File

@ -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) {

View File

@ -3,9 +3,9 @@
*/
export type TextElementUrl = {
type: 'url'
content: string
url: string
type: 'url';
content: string;
url: string;
};
export default function(text: string) {