Bokehjs not working with Angular

we are trying to import @bokeh/bokehjs in angular 10 and 11 as below
import * as Bokeh from ‘@bokeh/bokehjs’;

However we are facing below issues while compiling.

Below are the bokehjs and node version we are using
bokehjs: 2.3.2
node: 14.17.3

Could anyone please help us fix this and let us know if there is anything we need to do.
or let us know if this is a bug.


cc @mateusz

@mateusz @Bryan

Could you please let us know if you got a chance to look into this issue, as this is blocker for our development.