Closed
Description
π Search Terms
- getPasteEdits
- Paste with imports
π Version & Regression Information
5.6.0-dev.20240619
β― Playground Link
No response
π» Code
a.ts
export interface Foo { }
export const foo: Foo = {}
- Copy
export
orconst
Paste into b.ts
π Actual behavior
A paste edit is still returned. This makes VS Code show paste UI even though applying the TS paste does nothing
π Expected behavior
No paste edits are returned unless imports are added
Additional information about the issue
No response