Skip to content

type error Object literal may only specify known properties, and 'id' does not exist in type 'GeckoAndroidSpecificProperties'. #770

@capaj

Description

@capaj

I publish my extension to be available for mobile firefox and for that I need an id in GeckoAndroidSpecificProperties.
Currently it does not exist.

workaround is extending the property, but it would be nice to have it so that users don't need to extend that interface manually.

declare module 'webextension-polyfill' {
  namespace Manifest {
    interface GeckoAndroidSpecificProperties {
      id?: string
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions