mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-22 15:54:09 +00:00
[bugfix] Fix TypeScript errors in typecheck
- Add @ts-expect-error directive to unused postSurveyStatus function in auth.ts - Add @ts-expect-error for .mts import extension in vite.electron.config.mts - Add @ts-expect-error directives for global variable assignments in vitest.setup.ts - Remove vite.electron.config.mts from ESLint allowDefaultProject to fix duplicate inclusion error
This commit is contained in:
@@ -187,6 +187,7 @@ export async function getSurveyCompletedStatus(): Promise<boolean> {
|
||||
}
|
||||
}
|
||||
|
||||
// @ts-expect-error - Unused function kept for future use
|
||||
async function postSurveyStatus(): Promise<void> {
|
||||
try {
|
||||
const response = await api.fetchApi(`/settings/${ONBOARDING_SURVEY_KEY}`, {
|
||||
|
||||
Reference in New Issue
Block a user