mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
86 lines
2.4 KiB
Diff
86 lines
2.4 KiB
Diff
--- old.jsDeclarationsReactComponents(target=es2015).js
|
|
+++ new.jsDeclarationsReactComponents(target=es2015).js
|
|
@@= skipped -184, +184 lines =@@
|
|
|
|
//// [jsDeclarationsReactComponents1.d.ts]
|
|
/// <reference path="../../.lib/react16.d.ts" preserve="true" />
|
|
-export default TabbedShowLayout;
|
|
-declare function TabbedShowLayout({}: {}): JSX.Element;
|
|
-declare namespace TabbedShowLayout {
|
|
- namespace propTypes {
|
|
- let version: PropTypes.Requireable<number>;
|
|
- }
|
|
- namespace defaultProps {
|
|
- let tabs: undefined;
|
|
- }
|
|
-}
|
|
import PropTypes from "prop-types";
|
|
+declare function TabbedShowLayout({}: {}): JSX.Element;
|
|
+declare namespace TabbedShowLayout {
|
|
+ var propTypes: {
|
|
+ version: PropTypes.Requireable<number>;
|
|
+ };
|
|
+ var defaultProps: {
|
|
+ tabs: undefined;
|
|
+ };
|
|
+}
|
|
+export default TabbedShowLayout;
|
|
//// [jsDeclarationsReactComponents2.d.ts]
|
|
-export default TabbedShowLayout;
|
|
+import React from "react";
|
|
/**
|
|
* @type {React.SFC}
|
|
*/
|
|
declare const TabbedShowLayout: React.SFC;
|
|
-import React from "react";
|
|
+export default TabbedShowLayout;
|
|
//// [jsDeclarationsReactComponents3.d.ts]
|
|
-export default TabbedShowLayout;
|
|
/**
|
|
* @type {{defaultProps: {tabs: string}} & ((props?: {elem: string}) => JSX.Element)}
|
|
*/
|
|
@@= skipped -30, +29 lines =@@
|
|
} & ((props?: {
|
|
elem: string;
|
|
}) => JSX.Element);
|
|
+export default TabbedShowLayout;
|
|
//// [jsDeclarationsReactComponents4.d.ts]
|
|
-export default TabbedShowLayout;
|
|
-declare function TabbedShowLayout(prop: {
|
|
+declare function TabbedShowLayout(/** @type {{className: string}}*/ prop: {
|
|
className: string;
|
|
}): JSX.Element;
|
|
declare namespace TabbedShowLayout {
|
|
- namespace defaultProps {
|
|
- let tabs: string;
|
|
- }
|
|
+ var defaultProps: {
|
|
+ tabs: string;
|
|
+ };
|
|
}
|
|
+export default TabbedShowLayout;
|
|
//// [jsDeclarationsReactComponents5.d.ts]
|
|
-export default Tree;
|
|
+import PropTypes from 'prop-types';
|
|
declare function Tree({ allowDropOnRoot }: {
|
|
allowDropOnRoot: any;
|
|
}): JSX.Element;
|
|
declare namespace Tree {
|
|
- namespace propTypes {
|
|
- let classes: PropTypes.Requireable<object>;
|
|
- }
|
|
- namespace defaultProps {
|
|
- let classes_1: {};
|
|
- export { classes_1 as classes };
|
|
- export let parentSource: string;
|
|
- }
|
|
+ var propTypes: {
|
|
+ classes: PropTypes.Requireable<object>;
|
|
+ };
|
|
+ var defaultProps: {
|
|
+ classes: {};
|
|
+ parentSource: string;
|
|
+ };
|
|
}
|
|
-import PropTypes from 'prop-types';
|
|
+export default Tree;
|