Added test.

This commit is contained in:
Daniel Rosenwasser 2017-09-30 00:58:09 -07:00
parent 924460406e
commit e5eccf0a22

View file

@ -0,0 +1,14 @@
/// <reference path='fourslash.ts' />
////declare function foo(): (...args: any[]) => void;
////class C {
//// [|@foo|]
//// bar() {
////
//// }
////}
verify.codeFix({
description: "Call decorator expression.",
newRangeContent: `@foo()`
});