mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Accepted baselines.
This commit is contained in:
parent
7c90d6251c
commit
709445799d
@ -1,4 +1,4 @@
|
||||
//// [emitVoid0ReturnType.ts]
|
||||
//// [decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts]
|
||||
|
||||
declare var decorator: any;
|
||||
|
||||
@ -14,7 +14,7 @@ class MyClass {
|
||||
}
|
||||
|
||||
|
||||
//// [emitVoid0ReturnType.js]
|
||||
//// [decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js]
|
||||
var MyClass = (function () {
|
||||
function MyClass(test, test2) {
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
=== tests/cases/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts ===
|
||||
|
||||
declare var decorator: any;
|
||||
>decorator : Symbol(decorator, Decl(decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts, 1, 11))
|
||||
|
||||
class MyClass {
|
||||
>MyClass : Symbol(MyClass, Decl(decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts, 1, 27))
|
||||
|
||||
constructor(test: string, test2: number) {
|
||||
>test : Symbol(test, Decl(decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts, 4, 16))
|
||||
>test2 : Symbol(test2, Decl(decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts, 4, 29))
|
||||
|
||||
}
|
||||
|
||||
@decorator
|
||||
>decorator : Symbol(decorator, Decl(decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts, 1, 11))
|
||||
|
||||
doSomething() {
|
||||
>doSomething : Symbol(doSomething, Decl(decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts, 6, 5))
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
=== tests/cases/compiler/emitVoid0ReturnType.ts ===
|
||||
=== tests/cases/compiler/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts ===
|
||||
|
||||
declare var decorator: any;
|
||||
>decorator : any
|
||||
@ -1,23 +0,0 @@
|
||||
=== tests/cases/compiler/emitVoid0ReturnType.ts ===
|
||||
|
||||
declare var decorator: any;
|
||||
>decorator : Symbol(decorator, Decl(emitVoid0ReturnType.ts, 1, 11))
|
||||
|
||||
class MyClass {
|
||||
>MyClass : Symbol(MyClass, Decl(emitVoid0ReturnType.ts, 1, 27))
|
||||
|
||||
constructor(test: string, test2: number) {
|
||||
>test : Symbol(test, Decl(emitVoid0ReturnType.ts, 4, 16))
|
||||
>test2 : Symbol(test2, Decl(emitVoid0ReturnType.ts, 4, 29))
|
||||
|
||||
}
|
||||
|
||||
@decorator
|
||||
>decorator : Symbol(decorator, Decl(emitVoid0ReturnType.ts, 1, 11))
|
||||
|
||||
doSomething() {
|
||||
>doSomething : Symbol(doSomething, Decl(emitVoid0ReturnType.ts, 6, 5))
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user