error TS2318: Cannot find global type 'ClassDecorator'.


!!! error TS2318: Cannot find global type 'ClassDecorator'.
==== 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 var dec: any;
    
    @dec
    class C {
    }
    
    