Skip to content

Commit

Permalink
refactor(type): improve type (#146)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Cui <[email protected]>
  • Loading branch information
BlackHole1 authored Dec 25, 2024
1 parent 4450322 commit ae91472
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export interface OVMWindowsOptions {
cwd: string;
}

export type OVMWindowsPrepareEventValueType = keyof typeof OVMWindowsPrepareEventValue;

export enum OVMWindowsPrepareEventValue {
SystemNotSupport = "SystemNotSupport",

Expand All @@ -85,6 +87,8 @@ export enum OVMWindowsPrepareEventValue {
UpdateWSLSuccess = "UpdateWSLSuccess",
}

export type OVMWindowsRunEventValueType = keyof typeof OVMWindowsRunEventValue;

export enum OVMWindowsRunEventValue {
UpdatingRootFS = "UpdatingRootFS",
UpdateRootFSFailed = "UpdateRootFSFailed",
Expand Down

0 comments on commit ae91472

Please sign in to comment.