Skip to content

'Cheerio' refers to a value, but is being used as a type in server-test-utils/types #1737

Open
@sk-pub

Description

@sk-pub

Version

1.1.1

Steps to reproduce

  1. Check the file https://github.com/vuejs/vue-test-utils/blob/dev/packages/server-test-utils/types/index.d.ts
  2. Typescript compiler shows the error 'Cheerio' refers to a value, but is being used as a type here. Did you mean 'typeof Cheerio'?ts(2749)

Expected behaviour

There should be no error/warning from the TS compiler.

Actual behaviour

This issue prevents TypeScript compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions