Skip to content

Commit 3334c42

Browse files
wip
1 parent 5ca2e5f commit 3334c42

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2793
-234
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"devDependencies": {
2828
"@git-diff-view/core": "workspace:*",
2929
"@git-diff-view/react": "workspace:*",
30+
"@git-diff-view/solid": "workspace:*",
3031
"@git-diff-view/vue": "workspace:*",
3132
"@git-diff-view/utils": "workspace:*",
3233
"@swc/core": "^1.10.15",

packages/react/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,12 @@ export type SyntaxNode = {
793793
};
794794
children?: SyntaxNode[];
795795
};
796+
export declare enum DiffModeEnum {
797+
SplitGitHub = 1,
798+
SplitGitLab = 2,
799+
Split = 3,
800+
Unified = 4
801+
}
796802
declare const createDiffConfigStore: (props: DiffViewProps<any> & {
797803
isMounted: boolean;
798804
}, diffFileId: string) => import("reactivity-store").UseSelectorWithStore<{
@@ -938,12 +944,6 @@ declare const createDiffWidgetStore: (useDiffContextRef: RefObject<ReturnType<ty
938944
lineNumber?: number;
939945
}) => void;
940946
}>;
941-
export declare enum DiffModeEnum {
942-
SplitGitHub = 1,
943-
SplitGitLab = 2,
944-
Split = 3,
945-
Unified = 4
946-
}
947947
export type DiffViewProps<T> = {
948948
data?: {
949949
oldFile?: {

0 commit comments

Comments
 (0)