mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
fix!: Update deprecations for the new release. (#6470)
* chore: bump early deprecations to v10 * fixup * fixup * chore: remove deprecated properties * chore: add missing @deprecated tags * chore: format * chore: format * chore: fix import
This commit is contained in:
@@ -25,7 +25,7 @@ import * as deprecation from './deprecation.js';
|
||||
* @param prefix A string to look for at the start of `str`.
|
||||
* @returns True if `str` begins with `prefix`.
|
||||
* @alias Blockly.utils.string.startsWith
|
||||
* @deprecated April 2022. Use built-in string.startsWith.
|
||||
* @deprecated Use built-in **string.startsWith** instead.
|
||||
*/
|
||||
export function startsWith(str: string, prefix: string): boolean {
|
||||
deprecation.warn(
|
||||
|
||||
Reference in New Issue
Block a user