We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

JS1108: Incompatible visibility modifier

A visibility modifier is applied to a class or interface that cannot take that modifier or to a member of a class or interface defined with an incompatible overall modifier.

To correct this error

  1. Remove the visibility modifier or use an alternative modifier.

  2. Make sure that visibility modifiers applied to class members match the visibility of the class.