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

Flag resolution mode assertions in non-nightly builds #49002

Merged

Conversation

RyanCavanaugh
Copy link
Member

Per offline discussion.

See RyanCavanaugh@898be45 for what happens in non-nightly builds

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels May 6, 2022
);
}
// Nothing visible
}

function getResolutionModeOverrideForClauseInNightly(assertClause: AssertClause | undefined) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be getting called in the checker? Seems like you'll only get an error in .d.ts generation scenarios

@DanielRosenwasser
Copy link
Member

Ideally the span would be on the resolution-mode field, but it works.

@DanielRosenwasser DanielRosenwasser merged commit 1a4643b into microsoft:main May 6, 2022
@DanielRosenwasser
Copy link
Member

Looks like this didn't cover import() types though.

@RyanCavanaugh RyanCavanaugh deleted the flagImportAssertions branch June 1, 2022 23:35
@DanielRosenwasser
Copy link
Member

Opened #49354 as a follow-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants