mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
409 B
TypeScript
25 lines
409 B
TypeScript
//// [tests/cases/compiler/defaultOfAnyInStrictNullChecks.ts] ////
|
|
|
|
//// [defaultOfAnyInStrictNullChecks.ts]
|
|
// Regression test for #8295
|
|
|
|
function foo() {
|
|
try {
|
|
}
|
|
catch (e) {
|
|
let s = e.message;
|
|
}
|
|
}
|
|
|
|
|
|
//// [defaultOfAnyInStrictNullChecks.js]
|
|
"use strict";
|
|
// Regression test for #8295
|
|
function foo() {
|
|
try {
|
|
}
|
|
catch (e) {
|
|
let s = e.message;
|
|
}
|
|
}
|