2015-05-22 01:45:23 +02:00
|
|
|
// @target: ES5
|
2015-06-02 00:01:24 +02:00
|
|
|
// @experimentaldecorators: true
|
2015-04-23 21:33:12 +02:00
|
|
|
// @noLib: true
|
|
|
|
|
|
|
|
// @Filename: a.ts
|
|
|
|
interface Object { }
|
|
|
|
interface Array<T> { }
|
|
|
|
interface String { }
|
|
|
|
interface Boolean { }
|
|
|
|
interface Number { }
|
|
|
|
interface Function { }
|
|
|
|
interface RegExp { }
|
|
|
|
interface IArguments { }
|
|
|
|
|
2015-05-22 01:45:23 +02:00
|
|
|
// @Filename: b.ts
|
|
|
|
declare function dec(t, k, d);
|
2015-04-23 21:33:12 +02:00
|
|
|
|
|
|
|
class C {
|
2015-05-22 01:45:23 +02:00
|
|
|
@dec
|
|
|
|
method() {}
|
2015-04-23 21:33:12 +02:00
|
|
|
}
|
|
|
|
|