mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
Changed the tests
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/// <reference path="../react/react.d.ts" />
|
||||
/// <reference path="./react-scroll.d.ts" />
|
||||
|
||||
import * as React from 'react'
|
||||
import { Component } from 'react'
|
||||
import { Link, Element, Events, scroller } from 'react-scroll'
|
||||
|
||||
class LinkTest extends React.Component<React.Props<{}>, {}> {
|
||||
class LinkTest extends Component<any, any> {
|
||||
|
||||
render() {
|
||||
return <div>
|
||||
@@ -14,7 +14,7 @@ class LinkTest extends React.Component<React.Props<{}>, {}> {
|
||||
|
||||
}
|
||||
|
||||
class ElementTest extends React.Component<React.Props<{}>, {}> {
|
||||
class ElementTest extends Component<any, any> {
|
||||
|
||||
render() {
|
||||
return <div>
|
||||
|
||||
Reference in New Issue
Block a user