Skip to main content

Interface: DeprecatedAlias()

Defined in: src/core/deprecation.ts:11

A pre-v4 wrapper name kept callable after v4 adopted sdv-py's names: it forwards to deprecatedAliasOf (the v4 wrapper) and warns once.

Remarks​

Built by deprecatedAlias; both properties are non-enumerable and read-only, and fn.name is the old name so stack traces show what the caller used.

Extends​

  • WrapperFn

DeprecatedAlias(params?): Promise<any>

Defined in: src/core/deprecation.ts:11

A pre-v4 wrapper name kept callable after v4 adopted sdv-py's names: it forwards to deprecatedAliasOf (the v4 wrapper) and warns once.

Parameters​

params?​

any

Returns​

Promise<any>

Remarks​

Built by deprecatedAlias; both properties are non-enumerable and read-only, and fn.name is the old name so stack traces show what the caller used.

Properties​

deprecatedAliasOf​

readonly deprecatedAliasOf: WrapperFn

Defined in: src/core/deprecation.ts:13

The v4 wrapper this alias forwards to.


replacement​

readonly replacement: string

Defined in: src/core/deprecation.ts:15

The v4 name to call instead.