From 86346ee239082364c2c93404dd34b8dd1f2bb616 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 7 May 2018 12:51:45 -0400 Subject: [PATCH] Expose `Signal.Types.Attachment` 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 ecba629d8..3e13fa0e4 100644 --- a/ts/styleguide/StyleGuideUtil.ts +++ b/ts/styleguide/StyleGuideUtil.ts @@ -19,6 +19,7 @@ export { BackboneWrapper } from '../components/utility/BackboneWrapper'; import { Quote } from '../components/conversation/Quote'; import * as HTML from '../html'; +import * as Attachment from '../../ts/types/Attachment'; import * as MIME from '../../ts/types/MIME'; // TypeScript wants two things when you import: @@ -125,6 +126,7 @@ parent.ReactDOM = ReactDOM; parent.Signal.HTML = HTML; parent.Signal.Types.MIME = MIME; +parent.Signal.Types.Attachment = Attachment; parent.Signal.Components = { Quote, };