From 6589247750f8cef7d75210395174d8796292d166 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 7 May 2018 12:52:07 -0400 Subject: [PATCH] Expose `SignalService` to style guide --- ts/styleguide/StyleGuideUtil.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/styleguide/StyleGuideUtil.ts b/ts/styleguide/StyleGuideUtil.ts index 3e13fa0e4..6a0fc160b 100644 --- a/ts/styleguide/StyleGuideUtil.ts +++ b/ts/styleguide/StyleGuideUtil.ts @@ -21,6 +21,7 @@ import * as HTML from '../html'; import * as Attachment from '../../ts/types/Attachment'; import * as MIME from '../../ts/types/MIME'; +import { signalservice as SignalService } from '../../ts/protobuf/SignalService'; // TypeScript wants two things when you import: // 1) a normal typescript file @@ -131,6 +132,7 @@ parent.Signal.Components = { Quote, }; parent.Signal.Util = Util; +parent.SignalService = SignalService; parent.filesize = filesize; parent.ConversationController._initialFetchComplete = true;