Skip to content

apollo-env requires @types/node-fetch to compile #1670

@vcfvct

Description

@vcfvct

Intended outcome:
Should compile without having to install @types/node-fetch

Actual outcome:
getting compile error
node_modules/apollo-env/lib/fetch/fetch.d.ts(6,195): error TS7016: Could not find a declaration file for module 'node-fetch'.

How to reproduce the issue:
do a tsc with apollo-env or apollo-server-core as dependency.

Versions
0.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions