a
Size: a a a
a
MK
DV
DV
type Props = { trololo: boolea; }и так далее
a
DV
export const Nav: React.FunctionComponent<Props> = ({ trololo }) => (<div>{trololo}</div>)
AM
AM
export const Nav: React.FunctionComponent<Props> = ({ trololo }) => (<div>{trololo}</div>)
KK
KK
A
A
DV
A
export { ISomeInterface } from './types';tsc -b такое компилит без ошибок, а бабель пишет:
export ISomeInterface was not found in './types'
DV
DV
A
DV
R:
export { ISomeInterface } from './types';tsc -b такое компилит без ошибок, а бабель пишет:
export ISomeInterface was not found in './types'
P
interface IUserControlsProps extends RouteComponentProps {Type '{ name: string; }' is missing the following properties from type 'IUserControlsProps':
name: string
userStore: store
}
observer(({ userStore, history, name }: IUserControlsProps)
<UserControls name="John" />