mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Merge pull request #28981 from DiceTechnology/feat/chrome-cast-unescape
Add missing unescape method to chrome.cast
This commit is contained in:
8
types/chrome/chrome-cast/index.d.ts
vendored
8
types/chrome/chrome-cast/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user