TypeScript/tests/baselines/reference/typeAnnotationBestCommonTypeInArrayLiteral.symbols
2015-04-15 16:44:20 -07:00

39 lines
1.3 KiB
Plaintext

=== tests/cases/compiler/typeAnnotationBestCommonTypeInArrayLiteral.ts ===
interface IMenuItem {
>IMenuItem : Symbol(IMenuItem, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 0, 0))
id: string;
>id : Symbol(id, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 0, 21))
type: string;
>type : Symbol(type, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 1, 15))
link?: string;
>link : Symbol(link, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 2, 17))
classes?: string;
>classes : Symbol(classes, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 3, 18))
text?: string;
>text : Symbol(text, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 4, 21))
icon?: string;
>icon : Symbol(icon, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 5, 18))
}
var menuData: IMenuItem[] = [
>menuData : Symbol(menuData, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 8, 3))
>IMenuItem : Symbol(IMenuItem, Decl(typeAnnotationBestCommonTypeInArrayLiteral.ts, 0, 0))
{
"id": "ourLogo",
"type": "image",
"link": "",
"icon": "modules/menu/logo.svg"
}, {
"id": "productName",
"type": "default",
"link": "",
"text": "Product Name"
}
];