No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. jenslueck
    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    jenslueck

    @jenslueck

    I am writing software.

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    1
    Following
    Joined Last Online
    Website www.mpu-easy.de/ Location Germany Age 56

    jenslueck Follow

    Latest posts made by jenslueck

    • Quasar.lang typing error "Property 'lang' does not exist on type ..."

      Hi,
      I just started to work with Typescript and stumbled over a typing error.
      When a try to switch between the quasar language files with

      Quasar.lang.set(lang.default)

      I get an error that the property ‘lang’ does not exist:Quasar Lang Error.png

      I have looked through the typing definition files and found that in index.d.ts at the end of the file (line 8714) the “lang” type is missing for Quasar. So I changed the line

      export const Quasar: { install: (app: App, options: Partial<QuasarPluginOptions>) => any }
      to
      export const Quasar: { install: (app: App, options: Partial<QuasarPluginOptions>) => any, lang: GlobalQuasarLanguage}

      and now everything works fine.
      Just in case someone else encounters the same problem.

      posted in Framework
      jenslueck
      jenslueck