From bcd3e26377d386f74e32a5e399659e02b359857c Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 9 Apr 2018 20:10:52 -0400 Subject: [PATCH] Fix TS warning about `appendChild` --- ts/components/utility/BackboneWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/utility/BackboneWrapper.tsx b/ts/components/utility/BackboneWrapper.tsx index b66e22685..a57651ced 100644 --- a/ts/components/utility/BackboneWrapper.tsx +++ b/ts/components/utility/BackboneWrapper.tsx @@ -22,7 +22,7 @@ interface BackboneViewConstructor { * while we slowly replace the internals of a given Backbone view with React. */ export class BackboneWrapper extends React.Component { - protected el: Element | null = null; + protected el: HTMLElement | null = null; protected view: BackboneView | null = null; public componentWillUnmount() {