import { Injectable , Scope } from "../../di/mod.ts" ; import { Type } from "../deps.ts" ; import { ViewHelperCatalog } from "../view-helper-catalog.ts" ; /**
 * Marks a class as a container for view helpers
 */ export function ViewHelperContainer ( ) { return function ( target ) { ViewHelperCatalog . registerViewHelperContainer ( target as Type ) ; Injectable ( { scope : Scope . Singleton } ) ( target ) ; } ; }