Skip to content

Commit 91742ec

Browse files
committed
reuse type
1 parent 99dc059 commit 91742ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/issue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type Issue = {id: number; title: string; state: 'open' | 'closed'; pull_request?: {draft: boolean; merged: boolean}};
1+
import type {Issue} from '../types.ts';
22

33
export function getIssueIcon(issue: Issue) {
44
if (issue.pull_request) {

0 commit comments

Comments
 (0)