TypeScript/tests/cases/fourslash/completionsStringLiteral_fromTypeConstraint.ts

7 lines
185 B
TypeScript

/// <reference path="fourslash.ts" />
////interface Foo { foo: string; bar: string; }
////type T = Pick<Foo, "/**/">;
verify.completions({ marker: "", exact: ["foo", "bar"] });