File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
packages/react/src/ui-react/environment Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ export interface BrowserEnvironment
3636 opts ?: FormControlOptions
3737 ) : JSX . Element ;
3838
39- getFormLayout < V extends FormValues > ( layoutType ?: FormLayoutType ) : React . FC < LayoutProps < V > > ;
39+ getFormLayout < V extends FormValues > (
40+ layoutType ?: FormLayoutType
41+ ) : React . FC < LayoutProps < V > > ;
4042}
4143
4244export interface BrowserEnvironmentConfig extends EnvironmentConfig {
@@ -58,7 +60,8 @@ export class DefaultBrowserEnvironment
5860 BrowserEnvironmentConfig ,
5961 BrowserDependencyFactories
6062 >
61- implements BrowserEnvironment {
63+ implements BrowserEnvironment
64+ {
6265 name = EnvironmentName . Browser ;
6366
6467 async beforeInit ( ) : Promise < void > {
@@ -90,7 +93,9 @@ export class DefaultBrowserEnvironment
9093 /**
9194 * Get the form control for a given parameter
9295 */
93- getFormLayout < V extends FormValues > ( layoutType : FormLayoutType = "list" ) : React . FC < LayoutProps < V > > {
96+ getFormLayout < V extends FormValues > (
97+ layoutType : FormLayoutType = "list"
98+ ) : React . FC < LayoutProps < V > > {
9499 const provider = this . getInjectable < FormLayoutProvider > (
95100 BrowserDependencyName . FormLayoutProvider
96101 ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ import { initFluentIcons } from "./environment-util";
2020 */
2121export class MockBrowserEnvironment
2222 extends MockEnvironment < BrowserEnvironmentConfig >
23- implements BrowserEnvironment {
23+ implements BrowserEnvironment
24+ {
2425 isMockBrowserEnvironment : boolean = true ;
2526
2627 async beforeInit ( ) : Promise < void > {
@@ -53,7 +54,9 @@ export class MockBrowserEnvironment
5354 }
5455
5556 // TODO: This code shouldn't need to be duplicated from DefaultBrowserEnvironment
56- getFormLayout < V extends FormValues > ( layoutType : FormLayoutType = "list" ) : React . FC < LayoutProps < V > > {
57+ getFormLayout < V extends FormValues > (
58+ layoutType : FormLayoutType = "list"
59+ ) : React . FC < LayoutProps < V > > {
5760 const provider = this . getInjectable < FormLayoutProvider > (
5861 BrowserDependencyName . FormLayoutProvider
5962 ) ;
You can’t perform that action at this time.
0 commit comments