ShadowRoot should be a class, not an interface #27929
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms: ShadowRoot
Code
Expected behavior:
No errors
Actual behavior:
Error:
'ShadowRoot' only refers to a type, but is being used as a value here.
Playground Link: http://www.typescriptlang.org/play/#src=const%20f%20%3D%20(o)%20%3D%3E%20o%20instanceof%20ShadowRoot%3B
Related Issues: #10401
The text was updated successfully, but these errors were encountered: