Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: using generic type to avoid type lost #381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

azl397985856
Copy link

@azl397985856 azl397985856 commented Dec 10, 2021

const lfs = link(fs, ['/foo2', '/foo']);

the lfs will be any although fs has types, we expect lfs has the same type with fs

```
const lfs = link(fs, ['/foo2', '/foo']);
```
the lfs will be `any` although fs has types, we expect lfs has same type with fs
@azl397985856 azl397985856 changed the title feat: using generic type to avoid lose type feat: using generic type to avoid type lost Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant