diff --git a/package-lock.json b/package-lock.json index b38a0c2..c29c72e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -180,9 +180,9 @@ "dev": true }, "typescript": { - "version": "3.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.4.5.tgz", - "integrity": "sha512-YycBxUb49UUhdNMU5aJ7z5Ej2XGmaIBL0x34vZ82fn3hGvD+bgrMrVDpatgz2f7YxUMJxMkbWxJZeAvDxVe7Vw==", + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz", + "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==", "dev": true }, "ua-parser-js": { diff --git a/package.json b/package.json index 1d4d7b4..52f9d90 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@types/react": "^16.7.22", "react": "^15.4.1", "schema-dts": ">=0.4.0", - "typescript": ">=3.1.6" + "typescript": "^3.8.3" }, "dependencies": {}, "peerDependencies": { diff --git a/src/json-ld.tsx b/src/json-ld.tsx index 9346777..ed77b9e 100644 --- a/src/json-ld.tsx +++ b/src/json-ld.tsx @@ -1,5 +1,5 @@ /** - * Copyright 2019 Google LLC + * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,8 +44,58 @@ export class JsonLd extends React.Component<{ return (