diff --git a/test/typescript/tsd/ServiceSettings.test-d.ts b/test/typescript/tsd/ServiceSettings.test-d.ts index f5e10c11a..1dea9e36a 100644 --- a/test/typescript/tsd/ServiceSettings.test-d.ts +++ b/test/typescript/tsd/ServiceSettings.test-d.ts @@ -13,7 +13,7 @@ interface ExtendedSettings extends ServiceSettingSchema { } // test that ServiceSchema uses default service settings schema -const testSettingsSchema1: ServiceSchema = { +const testSettingsSchema1: ServiceSchema = { name: 'testSchema1', settings: { foo: 'bar', @@ -22,7 +22,7 @@ const testSettingsSchema1: ServiceSchema = { expectType(testSettingsSchema1.settings!); // assert non-null to avoid undefined check // test that service gets default service settings schema -class TestService1 extends Service { +class TestService1 extends Service { constructor(broker: ServiceBroker) { super(broker); @@ -36,8 +36,8 @@ class TestService1 extends Service { } const testService1 = new TestService1(broker); expectType(testService1.settings); -expectType(testService1.schema); -expectType>(testService1.schema); +expectType>(testService1.schema); +expectType>(testService1.schema); // test that ServiceSchema uses extended service settings schema const testSettingsSchema2: ServiceSchema = {