deep-foundation / deep-foundation/deepcase-app
feature: add autocompletion when importing libraries
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
# Code
```ts
async ({require}) => {
const { Link } = require('@deep-foundation/deeplinks/imports/minilinks');
const link: Link = {
// When I write here I want to see autocompletion
}
```
# Additional Information
If we create interface inside our root function and use the interface - typescript works fine. The problem is related only to the require parameter that is of type any and Typescript does not know what that require can return. It is not the same as using builtin require
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.