File tree 3 files changed +67
-3
lines changed
binding_minifier_wasm/src
3 files changed +67
-3
lines changed Original file line number Diff line number Diff line change @@ -853,7 +853,29 @@ export interface ReactConfig {
853
853
/**
854
854
* Enable fast refresh feature for React app
855
855
*/
856
- refresh?: boolean;
856
+ refresh?:
857
+ refresh?:
858
+ | boolean
859
+ | {
860
+ /**
861
+ * Identifier for the `react-refresh` register function.
862
+ *
863
+ * Defaults to `$RefreshReg$`
864
+ */
865
+ refreshReg?: string;
866
+ /**
867
+ * Identifier for the `react-refresh` signature function.
868
+ *
869
+ * Defaults to `$RefreshSig$`
870
+ */
871
+ refreshSig?: string;
872
+ /**
873
+ * Flag to emit full signatures.
874
+ *
875
+ * Defaults to `false`
876
+ */
877
+ emitFullSignatures?: boolean;
878
+ };
857
879
858
880
/**
859
881
* jsx runtime
Original file line number Diff line number Diff line change @@ -854,7 +854,28 @@ export interface ReactConfig {
854
854
/**
855
855
* Enable fast refresh feature for React app
856
856
*/
857
- refresh?: boolean;
857
+ refresh?:
858
+ | boolean
859
+ | {
860
+ /**
861
+ * Identifier for the `react-refresh` register function.
862
+ *
863
+ * Defaults to `$RefreshReg$`
864
+ */
865
+ refreshReg?: string;
866
+ /**
867
+ * Identifier for the `react-refresh` signature function.
868
+ *
869
+ * Defaults to `$RefreshSig$`
870
+ */
871
+ refreshSig?: string;
872
+ /**
873
+ * Flag to emit full signatures.
874
+ *
875
+ * Defaults to `false`
876
+ */
877
+ emitFullSignatures?: boolean;
878
+ };
858
879
859
880
/**
860
881
* jsx runtime
Original file line number Diff line number Diff line change @@ -909,7 +909,28 @@ export interface ReactConfig {
909
909
/**
910
910
* Enable fast refresh feature for React app
911
911
*/
912
- refresh ?: boolean ;
912
+ refresh ?:
913
+ | boolean
914
+ | {
915
+ /**
916
+ * Identifier for the `react-refresh` register function.
917
+ *
918
+ * Defaults to `$RefreshReg$`
919
+ */
920
+ refreshReg ?: string ;
921
+ /**
922
+ * Identifier for the `react-refresh` signature function.
923
+ *
924
+ * Defaults to `$RefreshSig$`
925
+ */
926
+ refreshSig ?: string ;
927
+ /**
928
+ * Flag to emit full signatures.
929
+ *
930
+ * Defaults to `false`
931
+ */
932
+ emitFullSignatures ?: boolean ;
933
+ } ;
913
934
914
935
/**
915
936
* jsx runtime
You can’t perform that action at this time.
0 commit comments