snappify
snappify copied to clipboard
Need: Alias support
snappify: latest node: 10.11 MacOS
import { IDispatch, IFormsState, } from '@app/interfaces';
The TypeScript props interface contains not supported types:
Solution is use tsconfig.json:
paths": {
"@app/*": ["src/app/*"],
Also. Does & syntax support?
Can't find a TypeScript props interface IProps & InjectedFormProps
Thanks for your package!
Feel free to contact.
Thank you for the issue!
For now, snappify doesn't support using other declared TypeScript interfaces as types of items of a React component's interface. It also doesn't support & operator in syntax. It could be good improvements for the package.
Unfortunately, I’m a little bit busy now and don’t have enough time to implement this.
If you have an interest to implement it by yourself, I’d love to discuss the details of the implementation. PRs is welcome!