mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
fix tsconfig, reimport in test
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import singleSpaReact = require("single-spa-react");
|
||||
import { Lifecycles } from "single-spa-react";
|
||||
import * as React from "react";
|
||||
import * as ReactDOM from "react-dom";
|
||||
|
||||
type customProps = { name: string };
|
||||
interface customProps {
|
||||
name: string;
|
||||
}
|
||||
|
||||
const rootComponent: React.SFC<customProps> = (props: customProps) => {
|
||||
return <div> hello{props.name} !</div>;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": ["../"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
|
||||
Reference in New Issue
Block a user