pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
24 lines (23 loc) • 906 B
TypeScript
/**
* deprecation name for version 8.0.0
* @ignore
*/
export declare const v8_0_0 = "8.0.0";
/**
* deprecation name for version 8.1.0
* @ignore
*/
export declare const v8_3_4 = "8.3.4";
/**
* Helper for warning developers about deprecated features & settings.
* A stack track for warnings is given; useful for tracking-down where
* deprecated methods/properties/classes are being used within the code.
* @category utils
* @ignore
* @function deprecation
* @param {string} version - The version where the feature became deprecated
* @param {string} message - Message should include what is deprecated, where, and the new solution
* @param {number} [ignoreDepth=3] - The number of steps to ignore at the top of the error stack
* this is mostly to ignore internal deprecation calls.
*/
export declare function deprecation(version: string, message: string, ignoreDepth?: number): void;