Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getElementBuilder(env: Environment, cursor: Cursor): ElementBuilder {
if (cursor.element instanceof Node) {
return debugRehydration(env, cursor);
}
return serializeBuilder(env, cursor);
}
getElementBuilder(env: Environment, cursor: Cursor) {
return serializeBuilder(env, cursor);
}
}
getBuilder(env: Environment): ElementBuilder {
return serializeBuilder(env, this.cursor);
}
}