mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
433 B
Plaintext
11 lines
433 B
Plaintext
bug25434.js(4,9): error TS18004: No value exists in scope for the shorthand property 'b'. Either declare one or provide an initializer.
|
|
|
|
|
|
==== bug25434.js (1 errors) ====
|
|
// should not crash while checking
|
|
function Test({ b = '' } = {}) {}
|
|
|
|
Test(({ b = '5' } = {}));
|
|
~
|
|
!!! error TS18004: No value exists in scope for the shorthand property 'b'. Either declare one or provide an initializer.
|
|
|