fix: ignore ts warnings from older typescript versions (#23262)
This commit is contained in:
parent
9d0eea9600
commit
7d8383cbd5
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@superset-ui/embedded-sdk",
|
||||
"version": "0.1.0-alpha.8",
|
||||
"version": "0.1.0-alpha.9",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@superset-ui/embedded-sdk",
|
||||
"version": "0.1.0-alpha.8",
|
||||
"version": "0.1.0-alpha.9",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@superset-ui/switchboard": "^0.18.26-0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@superset-ui/embedded-sdk",
|
||||
"version": "0.1.0-alpha.8",
|
||||
"version": "0.1.0-alpha.9",
|
||||
"description": "SDK for embedding resources from Superset into your own application",
|
||||
"access": "public",
|
||||
"keywords": [
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ export async function embedDashboard({
|
|||
});
|
||||
|
||||
iframe.src = `${supersetDomain}/embedded/${id}${dashboardConfig}${filterConfigUrlParams}`;
|
||||
//@ts-ignore
|
||||
mountPoint.replaceChildren(iframe);
|
||||
log('placed the iframe')
|
||||
});
|
||||
|
|
@ -173,6 +174,7 @@ export async function embedDashboard({
|
|||
|
||||
function unmount() {
|
||||
log('unmounting');
|
||||
//@ts-ignore
|
||||
mountPoint.replaceChildren();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue