Skip to content

TS Error: Statements not allowed in ambient contexts #82

Closed
@bsgreenb

Description

@bsgreenb

Describe the bug

../node_modules/disqus-react/types/index.d.ts:7:2 - error TS1036: Statements are not allowed in ambient contexts. 7 };

To Reproduce

Import disqus-react on TS, unless there's some special integration bug going on.

Expected behavior

Should not have type error.

Screenshots

image

Specifications:

  • OS: Mac OS X
  • Package version: 1.0.8
  • Node version: 12.8.1
  • TypeScript version: 3.8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions