Here is my code
export default class PrimitiveLink extends Vue {
style = {
// Reset
display: 'inline-block',
textDecoration: 'none',
outline: 'none',
// Theme
...this.themeStyle,
};
@Prop(String) readonly href!: string
@Prop(String) readonly title: string | undefined
@Prop(Object) readonly themeStyle!: object
}
I am getting TypeScript error Property 'themeStyle' is used before its initialization.
What does that mean and how should I fix it? Thank you for all the answers.