import * as React from "react";
import { ISelectProps } from "./index.d";
const Select: React.FunctionComponent = ({
test
}: React.PropsWithChildren<ISelectProps>) => {
return <div>{test}</div>;
};
Демоверсия Babel
Babel7 не может понять двоеточие?Почему?