mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
This CL changes references to self.Common.settings (the global instance of SDK.Common.Settings) over to Common.Settings.Settings.instance(). To keep both TypeScript and Closure happy we must make a method on the Settings class itself, since it only allows private constructors to be accessed by static methods on the class. Bug: 1058320 Change-Id: I04afc8caf64acf29cdda13ef03ad05cfff4786a1 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2091450 Commit-Queue: Paul Lewis <aerotwist@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>