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

Add a generic type to ToolSettings #1516

Open
hata6502 opened this issue Jan 27, 2021 · 0 comments
Open

Add a generic type to ToolSettings #1516

hata6502 opened this issue Jan 27, 2021 · 0 comments

Comments

@hata6502
Copy link
Contributor

hata6502 commented Jan 27, 2021

By adding a generic type to ToolSettings, EdtorConfig["tools"] can be more TypeScript-firendly.

See an example: examples/ExampleEditorConfigTools.ts: A type definition improved EditorConfig["tools"].

ExampleEditorConfigTools is one of EdtorConfig["tools"] that mapped between tool name and tool config.

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

No branches or pull requests

2 participants