Fix TS warning about `appendChild`

pull/1/head
Daniel Gasienica 7 years ago
parent 27f205e0a3
commit bcd3e26377

@ -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() {

Loading…
Cancel
Save