fix tsconfig, reimport in test

This commit is contained in:
Chris Dopuch
2019-01-20 18:49:14 -08:00
parent 3dddf04ac6
commit 3d6cddd5c3
2 changed files with 5 additions and 1 deletions
@@ -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>;
+1
View File
@@ -8,6 +8,7 @@
"strictFunctionTypes": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": ["../"],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true