I attempted to search for a solution to this issue but was unable to find one. I am currently trying to achieve the following:
import { Variables } from './types';
export default: Variables = {
type: 'set_variables',
variables: {
show_cursor: false,
win_size: 400,
is_text_only: false,
type_time: 0.05,
},
};
I am encountering syntax errors. Should I first declare it as a variable and then export the variable as default?