Skip to content

Commit c22faff

Browse files
Fixed introduced issues
1 parent f59595b commit c22faff

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

types/quicksettings/quicksettings-tests.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ qsAnyModel.setGlobalChangeHandler((model: AnyModel) => {}); // $ExpectType Quick
129129
// @ts-expect-error
130130
qsAnyModel.setGlobalChangeHandler((model: string) => {});
131131
qsTestModel.setGlobalChangeHandler((model: TestModel) => {}); // $ExpectType QuickSettingsPanel<TestModel, "testStatic">
132-
// prettier-ignore
132+
// $ExpectType QuickSettingsPanel<TestModel, "testStatic">
133133
qsTestModel.setGlobalChangeHandler(
134134
(model: { testNumber: number; testBoolean: boolean; testDate: string | Date }) => {},
135-
); // $ExpectType QuickSettingsPanel<TestModel, "testStatic">
135+
);
136136
// @ts-expect-error
137137
qsTestModel.setGlobalChangeHandler((model: { foo: string }) => {});
138138

@@ -694,16 +694,16 @@ qsTestModel.setRangeParameters("foo", 0, 100, 1);
694694
// @ts-expect-error
695695
qsDropDown.addDropDown("testString", [1, "two", 3], (value: DropDownSelection<string | number>) => {});
696696
// prettier-ignore
697-
// @ts-expect-error
698697
qsDropDown.addDropDown(
699698
"testComplex",
699+
// @ts-expect-error
700700
[{ foo: "one" }, { foo: "two" }, { foo: "three" }],
701701
(value: DropDownSelection<{ foo: string }>) => {},
702702
);
703703
// prettier-ignore
704-
// @ts-expect-error
705704
qsDropDown.addDropDown(
706705
"testString",
706+
// @ts-expect-error
707707
["one", { label: "Opt 2", value: 2 }, "three"],
708708
(value: DropDownSelection<string>) => {},
709709
);

0 commit comments

Comments
 (0)