TypeScript/tests/cases/fourslash/completionForStringLiteral_quotePreference5.ts

15 lines
295 B
TypeScript

/// <reference path='fourslash.ts'/>
////type T = "0" | "1";
////const t: T = /**/
verify.completions({
marker: "",
includes: [
{ name: "'1'" },
{ name: "'0'" },
],
isNewIdentifierLocation: true,
preferences: { quotePreference: "single" }
});