The Wayback Machine - https://web.archive.org/web/20220331032633/https://github.com/angular/components/pull/24678
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add lint rule to disallow type-only imports/exports #24678

Merged
merged 1 commit into from Mar 27, 2022

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Mar 27, 2022

Type-only imports and exports don't work with Closure so we can't use them.

Type-only imports and exports don't work with Closure so we can't use them.
@crisbeto crisbeto added P3 merge safe target: major labels Mar 27, 2022
@crisbeto crisbeto requested a review from as a code owner Mar 27, 2022
Copy link
Member

@devversion devversion left a comment

LGTM. If this is something we want to use in FW as well, we can consider moving it to dev-infra's set of tslint rules.

(although this is obviously a super short rule)

@crisbeto crisbeto added the merge ready label Mar 27, 2022
@crisbeto crisbeto merged commit 4f01bac into angular:master Mar 27, 2022
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge ready merge safe P3 target: major
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants