TypeScript/tests/cases/fourslash/codeFixAddMissingInvocationForDecorator01.ts

15 lines
273 B
TypeScript
Raw Normal View History

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