/// // @jsx: preserve // @Filename: /a.tsx ////declare namespace JSX { //// interface Element {} //// interface IntrinsicElements { //// div: { //// /** Doc */ //// foo: boolean; //// bar: string; //// "aria-foo": boolean; //// } //// } ////} //// ////
; ////
; ////
; ////
; verify.completions({ marker: "1", exact: ["bar", "aria-foo"] }); verify.completions({ marker: "2", exact: ["bar", "aria-foo"] }); verify.completions({ marker: "3", exact: ["foo", "aria-foo"] }); verify.completions({ marker: "4", exact: ["foo", "bar"] });