Skip to content

Classes that extend from/implement a non-projected type cause a tsc error trying to derive from 'any` #115

Description

@dunhor

E.g. the following error occurs because CompositionGeometricClip 'extends' CompositionClip which is webhosthidden:

windows/WinRTTurboModule/Generated Files/types/Windows.UI.Composition.d.ts:4:44 - error TS2693: 'any' only refers to a type, but is being used as a value here.

4     class CompositionGeometricClip extends any {
                                             ~~~

And the following error occurs because PointerEventArgs 'implements' ICoreWindowEventArgs which is webhosthidden:

windows/WinRTTurboModule/Generated Files/types/Windows.UI.Core.d.ts:21:39 - error TS2693: 'any' only refers to a type, but is being used as a value here.

21     class PointerEventArgs implements any {
                                         ~~~

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