Updated the constructor issue

This commit is contained in:
Harsha Vardhini 2020-03-12 11:22:23 +05:30
parent b45be8a4a5
commit 0289ff3363
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ import { loadStyles } from '@microsoft/load-themed-styles';
require('./overrides.css');
export default class ScriptEditor extends React.Component<IScriptEditorProps, any> {
constructor() {
super();
constructor(props: IScriptEditorProps, state: any) {
super(props);
this._showDialog = this._showDialog.bind(this);
this._closeDialog = this._closeDialog.bind(this);