mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-05 18:39:20 -06:00
fix: add type annotation to survey copy results array to resolve TypeScript build error
This commit is contained in:
@@ -135,7 +135,7 @@ export const CopySurveyForm = ({ defaultProjects, survey, onCancel, setOpen }: C
|
||||
});
|
||||
});
|
||||
|
||||
const results = [];
|
||||
const results: Awaited<ReturnType<typeof copySurveyToOtherEnvironmentAction>>[] = [];
|
||||
for (const item of copyOperationsWithMetadata) {
|
||||
const result = await copySurveyToOtherEnvironmentAction({
|
||||
surveyId: survey.id,
|
||||
|
||||
Reference in New Issue
Block a user