From a3793572e7770514e1fedc8035d2186dc9220510 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 8 Mar 2020 10:54:12 +0000 Subject: [PATCH] fix(core): update --- ts/meta/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ts/meta/index.ts b/ts/meta/index.ts index ade085b..e5a2fdc 100644 --- a/ts/meta/index.ts +++ b/ts/meta/index.ts @@ -42,8 +42,7 @@ const addOpenGraphProperty = async ( contentArg: string ): Promise => { const openGraphElement = document.createElement('meta'); - const anonGE: any = openGraphElement; - anonGE.property = propertyNameArg; + openGraphElement.setAttribute('property', propertyNameArg); openGraphElement.content = contentArg; document.getElementsByTagName('head')[0].appendChild(openGraphElement); return openGraphElement;