microsoft / microsoft/TypeScript
Parameter hints while overriding methods
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
Suggestion
It would be nice to get parameter hints while overriding methods or implementing abstract methods.
🔍 Search Terms
- parameter hints
- overriding methods
- abstract parameters
✅ Viability Checklist
My suggestion meets these guidelines:
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- This feature would agree with the rest of TypeScript's Design Goals.
⭐ Suggestion
When implementing an abstract class or overriding an existing class's methods, it would be great to be able to see the parameter hints for that method in the editor.
📃 Motivating Example
abstract class A {
abstract foo(param1: string, param2: number, param3: boolean): void;
}
class B extends A {
foo(/*trigger parameter hints here, see nothing*/)
}
type AA = {
foo(param1: string, param2: number, param3: boolean): void;
}
const BB: AA = {
foo(/*trigger parameter hints here, see lovely results*/)
}
Playground. (use Ctrl/Cmd+Shift+Space to trigger parameter hints)

💻 Use Cases
I'd use this when implementing abstract classes to remember the parameters I get to use.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TypeScript examples and linked Playground to reproduce parameter hints while implementing abstract or overridden methods. The issue names no repository files or tests, so trace the editor's parameter-hint behavior and add coverage showing signatures are offered in both class-method and object-literal cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100