Skip to content

Add missing properties for satisfiesΒ #60312

Closed
@golopot

Description

@golopot

πŸ” Search Terms

"refactor", "code action", "add missing properties", "satisfies"

βœ… Viability Checklist

⭐ Suggestion

Implement "add missing properties" refactor for satisfies expression.

πŸ“ƒ Motivating Example

type T = { t: string }
const b = {} satisfies T
// expecting the "add missing properties" refactor to be avaiable

Playground Link

πŸ’» Use Cases

  1. What do you want to use this for? Better DX
  2. What shortcomings exist with current approaches? manual input
  3. What workarounds are you using in the meantime? manual input

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions