This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// index.jsx | |
"use strict"; | |
var React = require("react"), | |
Router = require("react-router"), | |
Route = Router.Route, | |
Redirect = Router.Redirect, | |
App = require("./app"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Field } from "redux-form" | |
interface TypesafeFieldProps { foo: string } | |
const TypesafeField = Field as new () => Field<TypesafeFieldProps, any> | |
const node1 = (<TypesafeField name="test" component="input" foo="bar" />) // OK | |
const node2 = (<TypesafeField name="test" component="input" foo="bar" fizz="buzz" />) // Error (as expected) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:55:30.209 INFO - Selenium build info: version: '3.0.1', revision: '1969d75' | |
16:55:30.209 INFO - Launching a standalone Selenium Server | |
2017-03-15 16:55:30.225:INFO::main: Logging initialized @225ms | |
16:55:30.274 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: | |
registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform MAC | |
16:55:30.274 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped: | |
registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform MAC | |
16:55:30.275 INFO - Driver class not found: com.opera.core.systems.OperaDriver | |
16:55:30.275 INFO - Driver provider com.opera.core.systems.OperaDriver registration is skipped: | |
Unable to create new instances on this machine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react"; | |
import { | |
createElement, | |
cloneElement, | |
Component, | |
HTMLAttributes, | |
ReactElement, | |
ReactType, | |
CSSProperties, ReactNode, ReactInstance | |
} from "react"; |