2015-04-07 21:37:05 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: b.ts
|
|
|
|
////@/*decoratorUse*/decorator
|
|
|
|
////class C {
|
|
|
|
//// @decora/*decoratorFactoryUse*/torFactory(a, "22", true)
|
|
|
|
//// method() {}
|
|
|
|
////}
|
|
|
|
|
|
|
|
|
|
|
|
// @Filename: a.ts
|
2017-01-09 18:40:03 +01:00
|
|
|
////function /*decoratorDefinition*/decorator(target) {
|
2015-04-07 21:37:05 +02:00
|
|
|
//// return target;
|
|
|
|
////}
|
2017-01-09 18:40:03 +01:00
|
|
|
////function /*decoratorFactoryDefinition*/decoratorFactory(...args) {
|
2015-04-07 21:37:05 +02:00
|
|
|
//// return target => target;
|
|
|
|
////}
|
|
|
|
|
2016-09-02 21:47:26 +02:00
|
|
|
verify.goToDefinition({
|
|
|
|
decoratorUse: "decoratorDefinition",
|
|
|
|
decoratorFactoryUse: "decoratorFactoryDefinition"
|
|
|
|
});
|