Skip to content

bug: TypeScript 4.8 unable to discover @preact/signals for auto import #111

Closed
@motss

Description

Description

Not sure if this is the right place to post this TypeScript specific issue but I found out that auto importing @preact/signals fails in VSCode when using latest TypeScript 4.8. Auto importing works just fine when downgrading to TypeScript 4.7.

Affected TypeScript version: 4.8.3
Affected @preact/signals version: 1.0.3

Steps to reproduce

  1. Create a .ts or .tsx file with simple TSConfig file.
  2. Write signals to trigger VSCode's autocompletion to auto import signals from @preact/signals

Expected behavior

Auto imports should work when typing signals

Actual behavior

Auto imports fails to auto import anything from @preact/signals when using TypeScript 4.8.

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