33d0893259
* Add completions from literal contextual types * Remove getTypesOfUnion * undo baseline changes
12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////const x: 0 | "one" = /**/;
|
|
|
|
verify.completions({
|
|
marker: "",
|
|
includes: [
|
|
{ name: "0", kind: "string", text: "0" },
|
|
{ name: '"one"', kind: "string", text: '"one"' },
|
|
],
|
|
isNewIdentifierLocation: true,
|
|
});
|