Skip to content

Commit

Permalink
remove forcenewline typings
Browse files Browse the repository at this point in the history
  • Loading branch information
KentoNishi committed Jul 1, 2022
1 parent 9661856 commit 73b95db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions src/components/MessageRuns.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
title={run.alt}
/>
{/if}
{:else if run.type === 'newline'}
<div class="block w-full h-2" />
{/if}
{/each}
</span>
Expand Down
6 changes: 1 addition & 5 deletions src/ts/typings/ytc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,7 @@ declare namespace Ytc {
standardEmoji?: boolean;
}

interface ForceNewlineRun {
type: 'newline';
}

type ParsedRun = ParsedTextRun | ParsedLinkRun | ParsedEmojiRun | ForceNewlineRun;
type ParsedRun = ParsedTextRun | ParsedLinkRun | ParsedEmojiRun;

interface PaidDetails {
amount: string;
Expand Down

0 comments on commit 73b95db

Please sign in to comment.