Skip to content

TS2339: Property '$supabase' does not exist on type 'x'. - nuxt-property-decorator #11

Closed
@jannikbuscha

Description

@jannikbuscha

Bug report - TS2339: Property '$supabase' does not exist on type 'x'. - nuxt-property-decorator

Description

Hello, I already reported this error on the last pull request, it's still the error I get when I use the whole thing with the functions from nuxt-property-decorator:

image

The funny thing is that everything works though:

image

Here the complete code:

image

Also added a ts-shim.d.ts and types

image

image

Are there perhaps other ways I can set this up?

System information

  • OS: Windows
  • Browser: Chromium
  • Version of supabase-js: ^2.0.0
  • Version of Node.js: v14.17.4.
  • Version of nuxt-property-decorator: ^2.9.1
  • IDE: PhpStorm 2021.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions