Skip to content

Commit 7faaee1

Browse files
committed
Add TS fixes
1 parent fcd96f1 commit 7faaee1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: dashboard-table-view/vue3/src/components/DashboardTableView.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const surveyJson = {
3333
completedHtml: "Thank you for your feedback!",
3434
};
3535
36-
function randomIntFromInterval(min, max) {
36+
function randomIntFromInterval(min: number, max: number) {
3737
return Math.floor(Math.random() * (max - min + 1) + min);
3838
}
3939
function generateData() {

Diff for: get-started-pdf/vue3/src/components/MySurvey.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const pdfDocOptions = {
3535
fontSize: 12
3636
}
3737
38-
const savePdf = function (surveyData) {
38+
const savePdf = function (surveyData: any) {
3939
const surveyPdf = new SurveyPDF(surveyJson, pdfDocOptions);
4040
surveyPdf.data = surveyData;
4141
surveyPdf.save();

0 commit comments

Comments
 (0)