Update ts configuration

This commit is contained in:
2025-05-18 15:51:44 +02:00
parent bfc5cc2d29
commit 3619cf4ed4
8 changed files with 88 additions and 28 deletions

View File

@@ -1,5 +1,6 @@
import { API_BASE_URL } from '@/types/authApi';
import { apiCall } from './api';
import { CommitHash } from '@/types/git';
/**
* pullChanges fetches the latest changes from the remote repository

View File

@@ -2,6 +2,7 @@ import { useCallback } from 'react';
import { notifications } from '@mantine/notifications';
import { pullChanges, commitAndPush } from '../api/git';
import { useWorkspace } from '../contexts/WorkspaceContext';
import { CommitHash } from '@/types/git';
interface UseGitOperationsResult {
handlePull: () => Promise<boolean>;

View File

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="./index.jsx"></script>
<script type="module" src="./index.tsx"></script>
</body>
</html>

View File

@@ -1 +1 @@
type CommitHash = string;
export type CommitHash = string;