| Index: third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| index c7a38f142492741f72980011a96201c489c00796..64ddbdda061884b8a461c39a7bfce7c4e2c66f7b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| @@ -136,8 +136,9 @@ SDK.Target = class extends Protocol.TargetBase {
|
| }
|
|
|
| /**
|
| - * @param {!Function} modelClass
|
| - * @return {?SDK.SDKModel}
|
| + * @param {function(new: (!T<!SDK.SDKModel>), ...)} modelClass
|
| + * @return {?T}
|
| + * @template T
|
| */
|
| model(modelClass) {
|
| return this._modelByConstructor.get(modelClass) || null;
|
|
|