TypeScript
- 3 ответа
- 0 вопросов
2
Вклад в тег
data() {
return {
files: myFiles as FileList;
}
}
data(): {
files?: <FileList | null>;
} {
return {
files: undefined,
};
}
interface Data {
files?: <FileList | null>;
}
export default Vue.extend<Data, Methods, Computed, Props>({
data() {
return {
files: undefined
};
}
});