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

feat(parser): parse import attributes in TSImportType #2436

Merged

Conversation

Dunqing
Copy link
Member

@Dunqing Dunqing commented Feb 19, 2024

close: #2394
https://github.com/microsoft/TypeScript/blob/64d2eeea7b9c7f1a79edf42cb99f302535136a2e/src/compiler/types.ts#L2177-L2185

The corresponding test cases were skipped, so I manually added some cases to misc

fn skip_test_case(&self) -> bool {
// skip multi-file test cases for now
self.meta.tests.len() > 1
}

Copy link
Member Author

Dunqing commented Feb 19, 2024

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@github-actions github-actions bot added A-parser Area - Parser A-ast Area - AST labels Feb 19, 2024
Copy link

codspeed-hq bot commented Feb 19, 2024

CodSpeed Performance Report

Merging #2436 will not alter performance

Comparing 02-19-feat_parser_parse_import_attributes_in_TSImportType (f5db482) with main (5bd2ce6)

Summary

✅ 27 untouched benchmarks

@Boshen Boshen merged commit 60db720 into main Feb 19, 2024
22 checks passed
@Boshen Boshen deleted the 02-19-feat_parser_parse_import_attributes_in_TSImportType branch February 19, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ast Area - AST A-parser Area - Parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support import attributes in TS import type
2 participants