TypeScript/tests/cases/fourslash/completionNoAutoInsertQuestionDotWithUserPreferencesOff.ts
Daniel Rosenwasser d2fab65df6 Added test.
2019-10-17 17:04:45 -07:00

21 lines
442 B
TypeScript

/// <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
},
});