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

Adding -suppressExcessPropertyErrors compiler option #4484

Merged
merged 4 commits into from
Aug 27, 2015

Conversation

ahejlsberg
Copy link
Member

This PR adds a -suppressExcessPropertyErrors experimental compiler option that the disables strict object literal assignment checking implemented in #3823. The intent of this compiler option is to allow existing code bases to compile until issues found by the strict object literal assignment checking are addressed.

@vladima
Copy link
Contributor

vladima commented Aug 27, 2015

👍

1 similar comment
@mhegazy
Copy link
Contributor

mhegazy commented Aug 27, 2015

👍

ahejlsberg added a commit that referenced this pull request Aug 27, 2015
Adding -suppressExcessPropertyErrors compiler option
@ahejlsberg ahejlsberg merged commit c56683c into master Aug 27, 2015
@ahejlsberg ahejlsberg deleted the suppressExcessPropertyErrors branch August 27, 2015 23:20
@ahejlsberg ahejlsberg added this to the TypeScript 1.6 milestone Sep 4, 2015
@hcapp01
Copy link

hcapp01 commented Sep 17, 2015

how to set suppressexcesspropertyerrors in csproj

@mhegazy
Copy link
Contributor

mhegazy commented Sep 17, 2015

@hcapp01 add this to your project file:

<TypeScriptSuppressExcessPropertyErrors>true</TypeScriptSuppressExcessPropertyErrors>

for more documentation on all MSBuild property names see https://github.com/Microsoft/TypeScript/wiki/Setting-Compiler-Options-in-MSBuild-projects

@WanderWang
Copy link

👍

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants