TypeScript/tests/cases/fourslash/jsdocDeprecated_suggestion5.ts

24 lines
544 B
TypeScript
Raw Normal View History

///<reference path="fourslash.ts" />
// @checkJs: true
// @allowJs: true
// @Filename: jsdocDeprecated_suggestion5.js
//// /** @typedef {{ email: string, nickName?: string }} U2 */
//// /** @type {U2} */
//// const u2 = { email: "" }
//// /**
//// * @callback K
//// * @param {any} ctx
//// * @return {void}
//// */
//// /** @type {K} */
//// const cc = _k => {}
//// /** @enum {number} */
//// const DOOM = { e: 1, m: 1 }
//// /** @type {DOOM} */
//// const kneeDeep = DOOM.e
verify.getSuggestionDiagnostics([])