From 6afbfcc8d14651ae0af563fe880745098c9c7969 Mon Sep 17 00:00:00 2001 From: mikiest Date: Tue, 18 Sep 2018 13:14:55 +0100 Subject: [PATCH] feat: add unescape method to chrome.cast definition --- types/chrome/chrome-cast/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/chrome/chrome-cast/index.d.ts b/types/chrome/chrome-cast/index.d.ts index 440886031a..568ef9eb50 100644 --- a/types/chrome/chrome-cast/index.d.ts +++ b/types/chrome/chrome-cast/index.d.ts @@ -195,6 +195,14 @@ declare namespace chrome.cast { errorCallback: (error: chrome.cast.Error) => void ): void + /** + * @param {string} escaped A string to unescape. + * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast#.unescape + */ + export function unescape( + escaped: string + ): string + export class ApiConfig { /** * @param {!chrome.cast.SessionRequest} sessionRequest