swc_ecma_utils

Function prepend_stmts

source
pub fn prepend_stmts<T: StmtLike>(
    to: &mut Vec<T>,
    stmts: impl ExactSizeIterator<Item = T>,
)
Expand description

inject stmts after directives