16 lines
406 B
TypeScript
16 lines
406 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @Filename: a.ts
|
|
////function [|{| "isWriteAccess": true, "isDefinition": true |}decorator|](target) {
|
|
//// return target;
|
|
////}
|
|
////[|decorator|]();
|
|
|
|
// @Filename: b.ts
|
|
////@[|decorator|] @[|decorator|]("again")
|
|
////class C {
|
|
//// @[|decorator|]
|
|
//// method() {}
|
|
////}
|
|
|
|
verify.singleReferenceGroup("function decorator(target: any): any");
|