File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export function useScriptDataManagement() {
186186 } ) ;
187187 } ) ;
188188 } ,
189- } ;
189+ } as const ;
190190
191191 const unhooks = [
192192 subscribeMessage < TScriptRunStatus > ( "scriptRunStatus" , pageApi . scriptRunStatus ) ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function Setting() {
8383 badge_text_color : setBadgeTextColor ,
8484 script_menu_display_type : setScriptMenuDisplayType ,
8585 editor_type_definition : setEditorTypeDefinition ,
86- } ;
86+ } as const ;
8787 const unhooks = [
8888 subscribeMessage < TKeyValue < SystemConfigKey > > (
8989 SystemConfigChange ,
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export const AppProvider: React.FC<AppProviderProps> = ({ children }) => {
8181 setAppColorTheme ( theme ) ;
8282 setColorThemeState ( theme ) ;
8383 } ,
84- } ;
84+ } as const ;
8585
8686 const unhooks = [ subscribeMessage < ThemeParam > ( "onColorThemeUpdated" , pageApi . onColorThemeUpdated ) ] ;
8787 return ( ) => {
You can’t perform that action at this time.
0 commit comments