From 8cc422d41645f8c38dd8c46fc043ff06e07ba850 Mon Sep 17 00:00:00 2001 From: Michael Zlatkovsky Date: Thu, 27 Sep 2018 19:55:08 -0700 Subject: [PATCH] OfficeRuntime: Add missing "onRuntimeError" Add missing `onRuntimeError` to OfficeRuntime's DisplayWebDialogOptions --- types/office-runtime/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/office-runtime/index.d.ts b/types/office-runtime/index.d.ts index ae86c01bcb..90a8cfc75a 100644 --- a/types/office-runtime/index.d.ts +++ b/types/office-runtime/index.d.ts @@ -118,8 +118,13 @@ declare namespace OfficeRuntime { onClose?: () => void; /* * @beta - * Callback that is run when the dialog box sends an error. + * Callback that is run when the dialog sends a message to its parent. */ onMessage?(message: string, dialog?: Dialog): void; + /* + * @beta + * Callback that is run when the dialog box sends an error. + */ + onRuntimeError?(message: string, dialog?: Dialog): void; } }