fix: ignore ts warnings from older typescript versions (#23262)

This commit is contained in:
Elizabeth Thompson 2023-03-02 11:44:26 -08:00 committed by GitHub
parent 9d0eea9600
commit 7d8383cbd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -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",

View File

@ -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": [

View File

@ -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();
}