-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
no-disallowed-lwc-imports restricts the APIs that can be imported from lwc
. It was not written with TypeScript in mind. We should update the rule to make working with TypeScript easier.
Options:
- Keep the current implementation, but add commonly used
type
andinterface
declarations. - Allow any
type
orinterface
to be imported. - Skip checking
import type
declarations (This would technically allow people to import the types for disallowed APIs. That's weird, though, and it still wouldn't allow them to use the disallowed APIs at runtime, so it shouldn't matter much.)
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.