diff --git a/test/typescript/tsd/ServiceSettings.test-d.ts b/test/typescript/tsd/ServiceSettings.test-d.ts index 1dea9e36a..fbd859bf7 100644 --- a/test/typescript/tsd/ServiceSettings.test-d.ts +++ b/test/typescript/tsd/ServiceSettings.test-d.ts @@ -19,7 +19,7 @@ const testSettingsSchema1: ServiceSchema = { foo: 'bar', }, }; -expectType(testSettingsSchema1.settings!); // assert non-null to avoid undefined check +expectType(testSettingsSchema1.settings!); // assert non-null to avoid undefined check // test that service gets default service settings schema class TestService1 extends Service { @@ -35,7 +35,7 @@ class TestService1 extends Service { } } const testService1 = new TestService1(broker); -expectType(testService1.settings); +expectType(testService1.settings); expectType>(testService1.schema); expectType>(testService1.schema);