diff --git a/types/discourse-sso/discourse-sso-tests.ts b/types/discourse-sso/discourse-sso-tests.ts index 6ec2d967fc..efe7eba95b 100644 --- a/types/discourse-sso/discourse-sso-tests.ts +++ b/types/discourse-sso/discourse-sso-tests.ts @@ -10,7 +10,7 @@ if (sso.validate('payload', 'sig')) { email: 'omg@mail.com', username: 'myuser', name: 'This Guy' - } + }; const loginString: string = sso.buildLoginString(userParams); } diff --git a/types/discourse-sso/index.d.ts b/types/discourse-sso/index.d.ts index 322d2d609f..b8030e0735 100644 --- a/types/discourse-sso/index.d.ts +++ b/types/discourse-sso/index.d.ts @@ -11,7 +11,7 @@ declare class DiscourseSSO { } declare namespace DiscourseSSO { - export interface UserParams { + interface UserParams { nonce: string; external_id: string; email: string; @@ -24,4 +24,4 @@ declare namespace DiscourseSSO { remove_groups?: string[]; } } -export = DiscourseSSO; \ No newline at end of file +export = DiscourseSSO;