refactor: remove use of Object.assign
TS already transpiles spread to Object.assign with target:es2016
This commit is contained in:
@@ -179,7 +179,6 @@ export function createAppAPI<HostElement>(
|
||||
hydrate?: RootHydrateFunction
|
||||
): CreateAppFunction<HostElement> {
|
||||
return function createApp(rootComponent, rootProps = null) {
|
||||
|
||||
if (!isFunction(rootComponent)) {
|
||||
rootComponent = { ...rootComponent }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user