Skip to content

Cannot find name 'DOMStringList' in Location #2715

@zeldaleung

Description

@zeldaleung

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/apm

Version:

5.19.0

Description

No issues building with version 5.17.0, but following an upgrade to 5.19.0, the following error message is received on build:

../node_modules/@sentry/apm/dist/integrations/types.d.ts:12:31 - error TS2304: Cannot find name 'DOMStringList'.
12     readonly ancestorOrigins: DOMStringList;

Tried adding dom typings to compilerOptions which allowed the package to build -- is your build process automatically including dom for its node builds or something like that? Users really shouldn't need to add dom typings for a node application -_-

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions