Switch to declare module.exports syntax

Reviewed By: gabelevi

Differential Revision: D6571796

fbshipit-source-id: 6a6d98b05953f40b825a260f44765689e91269a8
This commit is contained in:
Sam Goldman
2017-12-14 16:14:21 -08:00
committed by Facebook Github Bot
parent f4d627c8fa
commit 5f8d8e90c2
4 changed files with 4 additions and 4 deletions

View File

@@ -24,5 +24,5 @@ declare var Headers: any;
declare var Request: any;
declare var Response: any;
declare module requestAnimationFrame {
declare var exports: (callback: any) => any;
declare module.exports: (callback: any) => any;
}

View File

@@ -34,5 +34,5 @@ declare module "Map" {
// Don't "declare class exports" directly, otherwise in error messages our
// show up as "exports" instead of "Map" or "MapPolyfill".
declare var exports: typeof MapPolyfill;
declare module.exports: typeof MapPolyfill;
}

View File

@@ -32,5 +32,5 @@ declare module "Set" {
// Don't "declare class exports" directly, otherwise in error messages our
// show up as "exports" instead of "Set" or "SetPolyfill".
declare var exports: typeof SetPolyfill;
declare module.exports: typeof SetPolyfill;
}

View File

@@ -13,5 +13,5 @@
// TODO (acdlite) Remove this file once flowtype/flow-typed/pull/773 is merged
declare module 'create-react-class' {
declare var exports: React$CreateClass;
declare module.exports: React$CreateClass;
}