Version: dev

reject_expression_templates_pre_v04

Stable function · Versions and migration

Tier: stable · Kind: function · Topic: Versions and migration

JuliaTypeScriptPythonRustGo
reject_expression_templates_pre_v04rejectExpressionTemplatesPreV04reject_expression_templates_pre_v04not exportedRejectExpressionTemplatesPreV04

Julia

reject_expression_templates_pre_v04(raw_data)
reject_expression_templates_pre_v04(raw_data)

Reject expression_templates blocks and apply_expression_template ops in files declaring esm < 0.4.0. Mirrors the equivalent TS / Python / Rust / Go checks for cross-binding-uniform diagnostics.

Source

TypeScript

function rejectExpressionTemplatesPreV04(view: unknown): void

Reject apply_expression_template and expression_templates in files declaring esm < 0.4.0. Operates on the pre-coercion JSON view.

Source

Python

reject_expression_templates_pre_v04(view: Any) -> None

Reject template constructs in files declaring esm < 0.4.0.

Mirrors the equivalent TS / Julia / Rust / Go checks for cross-binding-uniform diagnostics.

Source

Rust

Rust does not export this function.

Go

func RejectExpressionTemplatesPreV04(view map[string]any) error

RejectExpressionTemplatesPreV04 rejects expression_templates blocks and apply_expression_template ops in files declaring esm < 0.4.0. Mirrors the equivalent TS / Python / Julia / Rust checks.

Source · Go docs