MOBILE-3947 chore: Add version of deprecation in emulator file

main
Pau Ferrer Ocaña 2024-03-07 11:00:34 +01:00
parent 6f371abbdb
commit dd2f22226d
1 changed files with 10 additions and 6 deletions

View File

@ -55,11 +55,13 @@ class FileError {
/** /**
* Native APIs used in webkit window. * Native APIs used in webkit window.
*
* @deprecated since 4.4
*/ */
interface WebkitWindow { interface WebkitWindow {
/** /**
* @deprecated * @deprecated since 4.4
* @see https://www.w3.org/TR/2012/WD-file-system-api-20120417/ * @see https://www.w3.org/TR/2012/WD-file-system-api-20120417/
*/ */
// eslint-disable-next-line @typescript-eslint/naming-convention // eslint-disable-next-line @typescript-eslint/naming-convention
@ -69,7 +71,7 @@ interface WebkitWindow {
}; };
/** /**
* @deprecated * @deprecated since 4.4
* @see https://developer.mozilla.org/en-US/docs/Web/API/Window/requestFileSystem * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/requestFileSystem
*/ */
requestFileSystem( requestFileSystem(
@ -80,7 +82,7 @@ interface WebkitWindow {
): void; ): void;
/** /**
* @deprecated * @deprecated since 4.4
*/ */
webkitRequestFileSystem( webkitRequestFileSystem(
type: LocalFileSystem, type: LocalFileSystem,
@ -90,7 +92,7 @@ interface WebkitWindow {
): void; ): void;
/** /**
* @deprecated * @deprecated since 4.4
* @see https://www.w3.org/TR/2012/WD-file-system-api-20120417/ * @see https://www.w3.org/TR/2012/WD-file-system-api-20120417/
*/ */
resolveLocalFileSystemURL( resolveLocalFileSystemURL(
@ -100,7 +102,7 @@ interface WebkitWindow {
): void; ): void;
/** /**
* @deprecated * @deprecated since 4.4
*/ */
webkitResolveLocalFileSystemURL( webkitResolveLocalFileSystemURL(
url: string, url: string,
@ -112,11 +114,13 @@ interface WebkitWindow {
/** /**
* Native APIs used in webkit navigator. * Native APIs used in webkit navigator.
*
* @deprecated since 4.4
*/ */
interface WebkitNavigator { interface WebkitNavigator {
/** /**
* @deprecated * @deprecated since 4.4
* @see https://developer.chrome.com/docs/apps/offline_storage/ * @see https://developer.chrome.com/docs/apps/offline_storage/
*/ */
webkitPersistentStorage: { webkitPersistentStorage: {