Skip to content

Module '"http"' has no default export #307

@webup

Description

@webup

Expected Behavior

@dapr/dapr 2.3.0 could be compiled correctly with ts, to achieve this, we should use import * as http instead of directly import http.

Actual Behavior

When executing tsc, node_modules/@dapr/dapr/types/http/THTTPExecuteParams.type.d.ts reports error:

  • Module '"http"' has no default export
  • Module '"https"' has no default export

Steps to Reproduce the Problem

npm install dapr and run tsc, just as this job shows.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions