-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
Area: OutlookFeedback on Outlook contentFeedback on Outlook contentNeeds: attention 👋Waiting on Microsoft to provide feedbackWaiting on Microsoft to provide feedback
Description
Type of issue
Other (describe below)
Feedback
The type signature for the getAsync method for Office JS internet headers indicates that the async result should be Record<string, string>>.
We found in Classic Outlook for Windows this method can return null if the header requested doesn't exist. The type signature does not indicate that this method can return null. The typescript typestubs provided by MSFT also do not indicate this value can be null.
For Mac, New Outlook for Windows, and Outlook on the Web, this same scenario returns an empty Record which is what we would expect.
Is this a bug with Classic Outlook for Windows?
Page URL
Content source URL
Author
Document Id
bd5143a2-6f72-130c-ffed-d134ec3ec2b9
Platform Id
b95b41a3-e408-b3dc-fcab-7eda122d4924
Metadata
Metadata
Assignees
Labels
Area: OutlookFeedback on Outlook contentFeedback on Outlook contentNeeds: attention 👋Waiting on Microsoft to provide feedbackWaiting on Microsoft to provide feedback