reject_expression_templates_pre_v04
Stable function · Versions and migration
Tier: stable · Kind: function · Topic: Versions and migration
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
reject_expression_templates_pre_v04 | rejectExpressionTemplatesPreV04 | reject_expression_templates_pre_v04 | not exported | RejectExpressionTemplatesPreV04 |
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.
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.
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.
Rust
Rust does not export this function.