From 232d06bf45f8fa4a9433d36567d3fd7d43969ae6 Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Tue, 18 Jun 2019 16:52:33 +0200 Subject: [PATCH] (refactor) - remove unused typings file (#313) * refactor: remove unused typings file * Export all types from src/components (#312) * refactor: remove unused typings file --- src/global.d.ts | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/global.d.ts diff --git a/src/global.d.ts b/src/global.d.ts deleted file mode 100644 index 529c38a558..0000000000 --- a/src/global.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -declare module 'create-react-context' { - import * as React from 'react'; - - export default function createReactContext( - defaultValue: T - ): React.Context; - - export type Context = React.Context; - - export interface ProviderProps { - value: T; - children: React.ReactNode; - } - - export interface ConsumerProps { - children: (value: T) => React.ReactNode; - } -}