While trying to pick out the first character of a computed property I used charAt() function on it, but I am getting a little warning from VSCode that it is a wrong usage, although it is working.
computed: { ...mapGetters({ firstname: 'user/firstname', lastname: 'user/lastname', }), initials () { return (this.firstname.charAt(0).toUpperCase() + this.lastname.charAt(0).toUpperCase()); } },
Property 'charAt' does not exist on type 'Computed'.Vetur(2339) - This is the warning I get. Could not find much on this over the web
