Skip to content

code intelligence for config file #4

@Zain-ul-din

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

export default interface ConfigType { /* Config Type */}

randoms.config.js will looks like

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

Metadata

Metadata

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions