TypeScript/tests/cases/fourslash/completionsDestructuring.ts

9 lines
264 B
TypeScript

/// <reference path="fourslash.ts" />
////const points = [{ x: 1, y: 2 }];
////points.forEach(({ /*a*/ }) => { });
////const { /*b*/ } = points[0];
////for (const { /*c*/ } of points) {}
verify.completions({ marker: test.markers(), exact: ["x", "y"] });