ci: 使用 type 导入 PullRequest 和 BuildStatus 类型

This commit is contained in:
时瑾
2025-12-29 03:01:21 +08:00
parent 95f4a4d37e
commit 05b38825c0
2 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,8 @@
*/
import { readFileSync } from 'node:fs';
import { GitHubAPI, getEnv, getRepository, setOutput, PullRequest } from './lib/github.ts';
import { GitHubAPI, getEnv, getRepository, setOutput } from './lib/github.ts';
import type { PullRequest } from './lib/github.ts';
// ============== 类型定义 ==============