TypeScript/tests/cases/fourslash/findAllRefsOnDecorators.ts
Andy Hanson 8515f7e2b5 Change find-all-references tests to test for groups
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00

17 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");