Fix build break: difference result from treating things as literal type

This commit is contained in:
Kanchalai Tanglertsampan 2016-09-16 14:39:21 -07:00
parent fcdc07ef12
commit 0b5c8cee37
2 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ declare function decorator(x: string): any;
@decorator("hello")
>decorator("hello") : any
>decorator : (x: string) => any
>"hello" : string
>"hello" : "hello"
class Remote { }
>Remote : Remote
@ -21,7 +21,7 @@ class Remote { }
@decorator("hi")
>decorator("hi") : any
>decorator : (x: string) => any
>"hi" : string
>"hi" : "hi"
class AnotherRomote {
>AnotherRomote : AnotherRomote

View File

@ -6,7 +6,7 @@ export enum Color {
>Color : Color
r, g, b
>r : Color
>g : Color
>b : Color
>r : Color.r
>g : Color.g
>b : Color.b
}