TypeScript/tests/cases/fourslash/completionForStringLiteralFromSignature.ts

11 lines
279 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts'/>
////declare function f(a: "x"): void;
////declare function f(a: string): void;
////f("[|/**/|]");
verify.completions({ marker: "", exact: {
name: "x",
replacementSpan: test.ranges()[0]
}, isNewIdentifierLocation: true });