Fix TS warning about appendChild

This commit is contained in:
Daniel Gasienica 2018-04-09 20:10:52 -04:00
parent 27f205e0a3
commit bcd3e26377

View file

@ -22,7 +22,7 @@ interface BackboneViewConstructor {
* while we slowly replace the internals of a given Backbone view with React. * while we slowly replace the internals of a given Backbone view with React.
*/ */
export class BackboneWrapper extends React.Component<Props, {}> { export class BackboneWrapper extends React.Component<Props, {}> {
protected el: Element | null = null; protected el: HTMLElement | null = null;
protected view: BackboneView | null = null; protected view: BackboneView | null = null;
public componentWillUnmount() { public componentWillUnmount() {