snappify icon indicating copy to clipboard operation
snappify copied to clipboard

Need: Alias support

Open iMaximal opened this issue 6 years ago • 1 comments

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.

iMaximal avatar Oct 02 '18 09:10 iMaximal

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!

denisraslov avatar Oct 07 '18 18:10 denisraslov