Expose Git SHA to window (#1847)

* expose git sha

* move to global.d.ts

* fix vercel domain
This commit is contained in:
Kostas Bariotis 2020-06-30 22:03:13 +01:00 committed by GitHub
parent 9a5ae05bbf
commit 2a25480272
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

1
src/global.d.ts vendored
View file

@ -10,6 +10,7 @@ interface Document {
interface Window {
ClipboardItem: any;
__EXCALIDRAW_SHA__: string;
}
interface Clipboard extends EventTarget {