Skip to content

Errors when using types with a web worker. #151

@jozefchutka

Description

@jozefchutka

Following similar issue to #114 , I am getting:

node_modules/@webgpu/types/dist/index.d.ts:83:7 - error TS2552: Cannot find name 'HTMLImageElement'. Did you mean 'HTMLVideoElement'?

83     | HTMLImageElement
         ~~~~~~~~~~~~~~~~

Following change ( similar to https://github.com/gpuweb/types/pull/115/files ) would fix the build error

interface HTMLImageElement {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions