deep-foundation / deep-foundation/deepcase-app

feature: add autocompletion when importing libraries

Open
#182 7 comments 0 reactions 1 assignee Claimed by @FreePhoenix888 View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.