mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
8 lines
423 B
Plaintext
8 lines
423 B
Plaintext
main.js(1,26): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
|
|
|
|
|
|
==== main.js (1 errors) ====
|
|
new Promise((resolve) => resolve());
|
|
~~~~~~~
|
|
!!! error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
|
|
|