Get new frontend to type check clean
Epic undertaking.
This commit is contained in:
parent
6f9a511874
commit
21b7b68f50
52 changed files with 1616 additions and 1126 deletions
|
|
@ -102,13 +102,13 @@
|
|||
import CSVUpload from "@/components/CSVUpload.vue";
|
||||
import { router } from "@/router";
|
||||
|
||||
function onError(err) {
|
||||
function onError(err: Error) {
|
||||
console.error("CSV upload error", err);
|
||||
}
|
||||
function onFileSelected(file) {
|
||||
function onFileSelected(file: File) {
|
||||
console.log("file selected", file);
|
||||
}
|
||||
function onUploadSuccess(data) {
|
||||
function onUploadSuccess(data: any) {
|
||||
console.log("upload success", data);
|
||||
router.push("/_" + data.uri);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue