* Updates Dom lib with TSJS changes, adding a new library for webworker iterable Co-authored-by: Nathan Shively-Sanders <nathansa@microsoft.com> * Fixes tests Co-authored-by: Nathan Shively-Sanders <nathansa@microsoft.com>
13 lines
253 B
TypeScript
13 lines
253 B
TypeScript
// @skipLibCheck: true
|
|
// @lib: es2020,webworker,webworker.iterable
|
|
// @target: es2020
|
|
|
|
// This API is only in webworker
|
|
importScripts("")
|
|
|
|
// This should not raise a compiler error
|
|
const f = new FormData()
|
|
for (const element of f) {
|
|
element.length
|
|
}
|