refactor: remove unused case in switch statement (#28253)

PR Close #28253
This commit is contained in:
Daniel Ruf 2019-01-19 16:10:44 +01:00 committed by Alex Rickabaugh
parent 6bd20e8b2f
commit 7980f1d2ea
1 changed files with 0 additions and 2 deletions

View File

@ -43,8 +43,6 @@ export class ServerRendererFactory2 implements RendererFactory2 {
(<EmulatedEncapsulationServerRenderer2>renderer).applyToHost(element);
return renderer;
}
case ViewEncapsulation.Native:
throw new Error('Native encapsulation is not supported on the server!');
default: {
if (!this.rendererByCompId.has(type.id)) {
const styles = flattenStyles(type.id, type.styles, []);