Skip to content

Commit 5ac6305

Browse files
committed
chore: more attempts
1 parent 7b4ad63 commit 5ac6305

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

example/gauge/MyInstrument.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* eslint-disable @typescript-eslint/class-literal-property-style */
2-
/// <reference types="@microsoft/msfs-types/Pages/VCockpit/Core/VCockpit" />
2+
/// <reference types="@microsoft/msfs-types/pages/vcockpit/instruments/shared/baseinstrument" />
3+
/// <reference types="@microsoft/msfs-types/pages/vcockpit/core/vcockpit" />
34

45
import { EventBus, FSComponent } from "@microsoft/msfs-sdk";
56
import { InterfaceSample } from "./Components/InterfaceSample";

example/gauge/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"moduleResolution": "node" /* Enables compatibility with MSFS SDK bare global imports */,
1111
"jsxFactory": "FSComponent.buildComponent" /* Required for FSComponent framework JSX */,
1212
"jsxFragmentFactory": "FSComponent.Fragment" /* Required for FSComponent framework JSX */,
13-
"jsx": "react" /* Required for FSComponent framework JSX */
13+
"jsx": "react" /* Required for FSComponent framework JSX */,
14+
"typeRoots": ["../../node_modules/@types"]
1415
},
1516
"include": ["**/*", "../../src/ts/CommBus.d.ts"]
1617
}

0 commit comments

Comments
 (0)