Error in installing "contentful-ui-extensions-sdk" for Angular project

I initiated my angular project and installed the sdk via npm install contentful-ui-extensions-sdk, which succeeds. When I try to run ng serve, I get the following errors. How can I fix this?

This error occurs in both Angular 8 and 9 when I attempt to use the sdk init method, and this is how I use it:

export class AppComponent implements OnInit {
title = ‘custom-publish-validation’;

ngOnInit() {
initContentfulExtension((sdk: KnownSDK) => {})

}
}

Error:

ERROR in node_modules/contentful-ui-extensions-sdk/typings.d.ts:116:5 - error TS2300: Duplicate identifier ‘onValueChanged’.

116 onValueChanged: onValueChangeWithLocaleType
~~~~~~~~~~~~~~
node_modules/contentful-ui-extensions-sdk/typings.d.ts:117:5 - error TS2300: Duplicate identifier ‘onValueChanged’.

117 onValueChanged: onValueChangedType
~~~~~~~~~~~~~~
node_modules/contentful-ui-extensions-sdk/typings.d.ts:117:5 - error TS2717: Subsequent property declarations must have the same type. Property ‘onValueChanged’ must be of type ‘onValueChangeWithLocaleType’, but here has type ‘onValueChangedType’.

117 onValueChanged: onValueChangedType
~~~~~~~~~~~~~~

node_modules/contentful-ui-extensions-sdk/typings.d.ts:116:5
116 onValueChanged: onValueChangeWithLocaleType
~~~~~~~~~~~~~~
‘onValueChanged’ was also declared here.
node_modules/contentful-ui-extensions-sdk/typings.d.ts:119:5 - error TS2300: Duplicate identifier ‘onIsDisabledChanged’.

119 onIsDisabledChanged: onIsDisabledChangedWithLocaleType
~~~~~~~~~~~~~~~~~~~
node_modules/contentful-ui-extensions-sdk/typings.d.ts:120:5 - error TS2300: Duplicate identifier ‘onIsDisabledChanged’.

120 onIsDisabledChanged: onIsDisabledChangedType
~~~~~~~~~~~~~~~~~~~
node_modules/contentful-ui-extensions-sdk/typings.d.ts:120:5 - error TS2717: Subsequent property declarations must have the same type. Property ‘onIsDisabledChanged’ must be of type ‘onIsDisabledChangedWithLocaleType’, but here has type ‘onIsDisabledChangedType’.

120 onIsDisabledChanged: onIsDisabledChangedType
~~~~~~~~~~~~~~~~~~~

node_modules/contentful-ui-extensions-sdk/typings.d.ts:119:5
119 onIsDisabledChanged: onIsDisabledChangedWithLocaleType
~~~~~~~~~~~~~~~~~~~
‘onIsDisabledChanged’ was also declared here.