Skip to content

Commit c9e5444

Browse files
committed
fix: fix type error
1 parent 4bdcfbb commit c9e5444

File tree

1 file changed

+1
-1
lines changed
  • packages/browser-vm/src/dynamicNode

1 file changed

+1
-1
lines changed

packages/browser-vm/src/dynamicNode/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function injector(current: Function, methodName: string) {
3737
manager.correctPath(baseUrl);
3838
manager.setScope({
3939
appName: namespace,
40-
rootElId: styleScopeId(),
40+
rootElId: styleScopeId!(),
4141
});
4242
el.textContent = manager.transformCode(manager.styleCode);
4343
return originProcess();

0 commit comments

Comments
 (0)