Skip to content

code intelligence for config file #4

Description

@Zain-ul-din

General Proposal

Our code-generator require randoms.config.json to read the config provided by the user.

But there is no code intelligence for that I propose to have a JS file instead of a JSON file we can use TS type annotation comment to enable code intelligence.

Example

export type from our package

exportdefaultinterfaceConfigType{/* Config Type */}

randoms.config.js will looks like

/** @type {import('package').ConfigType} */module.exports={/* config */}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomersproposalgeneral proposal

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions