Skip to content

Commit

Permalink
Remove global.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
as-com committed Mar 14, 2018
1 parent 2120a8b commit 0bba495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 181 deletions.
6 changes: 2 additions & 4 deletions packages/inferno/src/JSX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ declare global {
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6

/// <reference path="global.d.ts" />

namespace _InfernoJSX {
//
// React Elements
Expand Down Expand Up @@ -3051,7 +3049,7 @@ declare global {
"var": DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
video: DetailedHTMLFactory<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
wbr: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
webview: DetailedHTMLFactory<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>; // TODO: why error?
// webview: DetailedHTMLFactory<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>;
}

interface InfernoSVG {
Expand Down Expand Up @@ -3286,7 +3284,7 @@ declare global {
"var": _InfernoJSX.DetailedHTMLProps<_InfernoJSX.HTMLAttributes<HTMLElement>, HTMLElement>;
video: _InfernoJSX.DetailedHTMLProps<_InfernoJSX.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
wbr: _InfernoJSX.DetailedHTMLProps<_InfernoJSX.HTMLAttributes<HTMLElement>, HTMLElement>;
webview: _InfernoJSX.DetailedHTMLProps<_InfernoJSX.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>; // TODO: why is this erroring?
// webview: _InfernoJSX.DetailedHTMLProps<_InfernoJSX.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>;

// SVG
svg: _InfernoJSX.SVGProps<SVGSVGElement>;
Expand Down
177 changes: 0 additions & 177 deletions packages/inferno/src/global.d.ts

This file was deleted.

0 comments on commit 0bba495

Please sign in to comment.