Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

The object required is inferenced as unknown #353

Open
pinxue opened this issue Dec 11, 2021 · 0 comments
Open

The object required is inferenced as unknown #353

pinxue opened this issue Dec 11, 2021 · 0 comments

Comments

@pinxue
Copy link

pinxue commented Dec 11, 2021

environment: nodejs is added into .hegelrc

  3 | const asserts = require("assert");
> 4 | const assert = asserts.strict;
    |               ^^^^^^^^^^^^^^ Property "strict" does not exist in "unknown"

It seems @hegel/typings/assert.d.ts provided the type info but not applied.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant