commit | 11e43681c0365201419fe24c6e4da140ac53f6b9 | [log] [tgz] |
---|---|---|
author | Philip Pfaffe <pfaffe@chromium.org> | Thu Jul 29 13:14:42 2021 +0200 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 29 12:32:37 2021 +0000 |
tree | 84e6feb80c7ead83bd517c23b224886e37c96e0e | |
parent | ec691c322621c242239536cc908983629c340344 [diff] [blame] |
[extensions] Replace getter with readonly property in interface Bug: none Change-Id: I3803e8d2ebfd5b98f33ff42530de95331fb3d0b3 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3059611 Auto-Submit: Philip Pfaffe <pfaffe@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
diff --git a/extension-api/ExtensionAPI.d.ts b/extension-api/ExtensionAPI.d.ts index 27b1576..b0599ad 100644 --- a/extension-api/ExtensionAPI.d.ts +++ b/extension-api/ExtensionAPI.d.ts
@@ -9,7 +9,7 @@ } export interface Resource { - get url(): string; + readonly url: string; getContent(callback: (content: string, encoding: string) => unknown): void; setContent(content: string, commit: boolean, callback?: (error?: Object) => unknown): void;