Added test.
This commit is contained in:
parent
924460406e
commit
e5eccf0a22
14
tests/cases/fourslash/codeFixAddForgottenDecoratorCall01.ts
Normal file
14
tests/cases/fourslash/codeFixAddForgottenDecoratorCall01.ts
Normal 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()`
|
||||
});
|
Loading…
Reference in a new issue