Skip to content

Commit

Permalink
Remove fake InvariantException declaration
Browse files Browse the repository at this point in the history
Summary: This was added to get around the inconsistency in how the typechecker and compiler viewed autoimporting. But this should only be enabled in OSS, not WWW.

Reviewed By: DavidSnider

Differential Revision: D18069991

fbshipit-source-id: ad45b372263bb3003650113bbc9d36229fc80e88
  • Loading branch information
kmeht authored and facebook-github-bot committed Oct 22, 2019
1 parent f268dd7 commit 4f075c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lies_we_tell_hack.hhi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

namespace HH {
class InvariantException extends \InvariantException {}
class InvariantException extends \InvariantException {} // @oss-enable
type KeyedContainer<Tk, Tv> = \KeyedContainer<Tk, Tv>;
}

Expand Down

0 comments on commit 4f075c9

Please sign in to comment.