I just purchased the Atlantis theme, and I was planning to use it as a boilerplate to start a new frontend project using TypeScript.
After downloading the theme, I noticed the project is not using TypeScript.
I tried cloning https://github.com/primefaces/primevue- ... quickstart and running it but it's throwing an error:
Code: Select all
ERROR in src/components/HelloWorld.vue:11:3
TS2345: Argument of type '{ props: { msg: StringConstructor; }; }' is not assignable to parameter of type 'ComponentOptionsBase<{}, any, any, any, any, any, any, any, string, {}> & ThisType<any> & ThisType<unknown>'.
Object literal may only specify known properties, and 'props' does not exist in type 'ComponentOptionsBase<{}, any, any, any, any, any, any, any, string, {}> & ThisType<any> & ThisType<unknown>'.
9 |
10 | @Options({
> 11 | props: {
| ^^^^^^^^
> 12 | msg: String
| ^^^^^^^^^^^^^^^
> 13 | }
| ^^^^
14 | })
15 | export default class HelloWorld extends Vue {
16 | msg!: string
Cheers,
Oren