TypeScript/tests/cases/fourslash/completionNoAutoInsertQuestionDotWithUserPreferencesOff.ts

21 lines
442 B
TypeScript
Raw Normal View History

2019-10-18 02:04:45 +02:00
/// <reference path="fourslash.ts" />
// @strict: true
//// interface User {
//// address?: {
//// city: string;
//// "postal code": string;
//// }
//// };
//// declare const user: User;
//// user.address[|./**/|]
verify.completions({
marker: "",
exact: [],
preferences: {
includeInsertTextCompletions: true,
includeAutomaticOptionalChainCompletions: false
},
});