24 lines
602 B
Plaintext
24 lines
602 B
Plaintext
error TS2318: Cannot find global type 'TypedPropertyDescriptor'.
|
|
|
|
|
|
!!! error TS2318: Cannot find global type 'TypedPropertyDescriptor'.
|
|
==== tests/cases/conformance/decorators/a.ts (0 errors) ====
|
|
|
|
interface Object { }
|
|
interface Array<T> { }
|
|
interface String { }
|
|
interface Boolean { }
|
|
interface Number { }
|
|
interface Function { }
|
|
interface RegExp { }
|
|
interface IArguments { }
|
|
|
|
==== tests/cases/conformance/decorators/b.ts (0 errors) ====
|
|
declare function dec(t, k, d);
|
|
|
|
class C {
|
|
@dec
|
|
method() {}
|
|
}
|
|
|
|
|