这是indexloc提供的服务,不要输入任何密码
Skip to content

Typescript autoimport suggestion not working #331

@igor-ribeiro

Description

@igor-ribeiro

What version of Turborepo are you using?

1.0.15

Describe the Bug

Import suggestion from Typescript are not working, unless you have the packages with an empty import (import {} from 'ui')

turborepo-ts-import

Expected Behavior

Typescript should recognize the packages from the monorepo.

To Reproduce

  1. Start a new project with npx create-turbo@latest or clone an example (I cloned the design system)
  2. Open the index.tsx (or any file from the apps)
  3. Remove the import statement of one shared component
  4. Try to auto import it from IDE

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ergonomicsIssues and features impacting the developer experience of using turboarea: examplesImprovements or additions to examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions