TypeScript/tests/cases/conformance/types/specifyingTypes/typeLiterals
Sheetal Nandi 16fc7a22e2 Tests for union type literals
A union type literal is written as a sequence of types separated by vertical bars.
UnionType:
PrimaryOrUnionType   |   PrimaryType
A union typle literal references a union type.
When function or constructor types are included in union types they must be enclosed in parentheses
2014-11-04 13:18:47 -08:00
..
arrayLiteral.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
arrayOfFunctionTypes3.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
arrayTypeOfFunctionTypes.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
arrayTypeOfFunctionTypes2.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
arrayTypeOfTypeOf.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
functionLiteral.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
functionLiteralForOverloads.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
functionLiteralForOverloads2.ts Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
parenthesizedTypes.ts Adding tests 2014-10-19 07:57:10 -07:00
unionTypeLiterals.ts Tests for union type literals 2014-11-04 13:18:47 -08:00