11 lines
No EOL
189 B
TypeScript
11 lines
No EOL
189 B
TypeScript
// @target: es5
|
|
// @lib: es5,es6
|
|
// @noEmitHelpers: true
|
|
async function test(skip: boolean) {
|
|
if (!skip) {
|
|
await 1
|
|
}
|
|
else {
|
|
throw Error('test')
|
|
}
|
|
} |