TypeScript/tests/cases/fourslash/quickInfoJSExport.ts
Eli Barzilay 620e260576 Avoid the double-symbol trick for enums
Nameless jsdoc typedefs have their exportedness controlled by the
exportedness of the location they pull their name from.

Fixes #33575.
2020-08-12 18:40:57 -04:00

24 lines
382 B
TypeScript

/// <reference path="fourslash.ts" />
// GH #35347
// @Filename: a.js
// @allowJs: true
//// /**
//// * @enum {string}
//// */
//// const testString = {
//// one: "1",
//// two: "2"
//// };
////
//// export { test/**/String };
verify.quickInfoAt("",
`(alias) type testString = string
(alias) const testString: {
one: string;
two: string;
}
export testString`);