Skip to content

Commit 5298a78

Browse files
author
Akos Kitta
committed
fix: api -> no optional
Signed-off-by: Akos Kitta <[email protected]>
1 parent b3cfcaf commit 5298a78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arduino-ide-extension/src/browser/contributions/sketchbook.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Sketchbook extends Examples {
6161
.then(({ container, sketchesInInvalidFolder }) => {
6262
if (
6363
raiseInvalidSketchFoldersWarning &&
64-
sketchesInInvalidFolder?.length
64+
sketchesInInvalidFolder.length
6565
) {
6666
Promise.all(
6767
sketchesInInvalidFolder.map(async (ref) => {

arduino-ide-extension/src/common/protocol/sketches-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface SketchesService {
3838
*/
3939
getSketches({ uri }: { uri?: string }): Promise<{
4040
container: SketchContainer;
41-
sketchesInInvalidFolder?: SketchRef[];
41+
sketchesInInvalidFolder: SketchRef[];
4242
}>;
4343

4444
/**

0 commit comments

Comments
 (0)