Browse Source

Add polyfills

Renée Kooi 6 years ago
parent
commit
8466f66356
2 changed files with 5 additions and 0 deletions
  1. 3 0
      test/endtoend/typescript/index.html
  2. 2 0
      test/endtoend/typescript/main.ts

+ 3 - 0
test/endtoend/typescript/index.html

@@ -16,6 +16,9 @@
   </style>
   <main>
     <h2>Compiled Typescript</h2>
+    <form id=upload-form>
+      <input type="meta" value="example meta">
+    </form>
     <button id="pick-files">Open modal</button>
   </main>
 

+ 2 - 0
test/endtoend/typescript/main.ts

@@ -1,3 +1,5 @@
+import 'es6-promise/auto'
+import 'whatwg-fetch'
 import Uppy = require('@uppy/core')
 import Dashboard = require('@uppy/dashboard')
 import Instagram = require('@uppy/instagram')