Skip to content

Classes that implement IVector/IVectorView do not declare the "extra" Array-like functions #112

Description

@dunhor

E.g. this results in the error:

windows/WinRTTurboModule/Generated Files/types/Windows.Foundation.d.ts:318:11 - error TS2420: Class 'WwwFormUrlDecoder' incorrectly implements interface 'IVectorView<IWwwFormUrlDecoderEntry>'.
  Type 'WwwFormUrlDecoder' is missing the following properties from type 'IVectorView<IWwwFormUrlDecoderEntry>': length, concat, every, filter, and 7 more.

318     class WwwFormUrlDecoder implements Windows.Foundation.Collections.IVectorView<Windows.Foundation.IWwwFormUrlDecoderEntry>, Windows.Foundation.Collections.IIterable<Windows.Foundation.IWwwFormUrlDecoderEntry> {
              ~~~~~~~~~~~~~~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtypescriptBugs/issues/feature asks for typescript generation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions