Skip to content

Adding -suppressExcessPropertyErrors compiler option - #4484

Merged
Anders Hejlsberg (ahejlsberg) merged 4 commits into
masterfrom
suppressExcessPropertyErrors
Aug 27, 2015
Merged

Adding -suppressExcessPropertyErrors compiler option#4484
Anders Hejlsberg (ahejlsberg) merged 4 commits into
masterfrom
suppressExcessPropertyErrors

Conversation

@ahejlsberg

Copy link
Copy Markdown
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
Copy Markdown
Contributor

👍

1 similar comment
@mhegazy

Copy link
Copy Markdown
Contributor

👍

Anders Hejlsberg (ahejlsberg) added a commit that referenced this pull request Aug 27, 2015
Adding -suppressExcessPropertyErrors compiler option
@ahejlsberg
Anders Hejlsberg (ahejlsberg) deleted the suppressExcessPropertyErrors branch August 27, 2015 23:20
@hcapp01

Copy link
Copy Markdown

how to set suppressexcesspropertyerrors in csproj

@mhegazy

Copy link
Copy Markdown
Contributor

hcapp (@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
Copy Markdown

👍

@microsoft 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