refactor: add more type exports

This commit is contained in:
hypercross 2026-04-14 16:26:07 +08:00
parent dd43bb1a1d
commit 93078f2dd6
2 changed files with 5 additions and 1 deletions

View File

@ -27,3 +27,5 @@ export type { YarnProject } from './loader/types';
export { parseYarn } from './yarn-spinner/parse/parser';
export { compile } from './yarn-spinner/compile/compiler';
export { YarnRunner } from './yarn-spinner/runtime/runner';
export type { RunnerOptions } from './yarn-spinner/runtime/runner';
export type { TextResult, OptionsResult, CommandResult, RuntimeResult } from './yarn-spinner/runtime/results';

View File

@ -1,3 +1,5 @@
export {parseYarn} from './parse/parser';
export {compile} from './compile/compiler';
export {YarnRunner} from "./runtime/runner";
export type {RunnerOptions} from "./runtime/runner";
export type {TextResult, OptionsResult, CommandResult, RuntimeResult} from "./runtime/results";