TypeScript/tests/cases/compiler/contextuallyTypeArgumentsKeyword.ts

13 lines
219 B
TypeScript
Raw Normal View History

// @noEmit: true
// @allowJs: true
// @checkJs: true
// @skipLibCheck: true
// @lib: es2017, dom
// @Filename: foo.js
// Repro for #16585
const x = {
bar() {
setTimeout(function() { arguments }, 0);
}
}