add test for completions crash

This commit is contained in:
Gabriela Araujo Britto
2021-07-30 13:57:51 -07:00
parent 635f5bdf8c
commit 89c4e8ca1c

View File

@@ -0,0 +1,18 @@
/// <reference path="fourslash.ts" />
////class Client {
//// private close() { }
//// public open() { }
////}
////type Wrap<T> = T &
////{
//// [K in Extract<keyof T, string> as `${K}Wrapped`]: T[K];
////};
////class Service {
//// method() {
//// let service = undefined as unknown as Wrap<Client>;
//// const { /*a*/ } = service;
//// }
////}
verify.completions({ marker: "a", exact: ["open", "openWrapped"] });