You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is then, somehow, filtering through into brace as any[] (also with bad/wrong documentation), but that is perhaps a separate issue to place either there or at the definitelytyped repo:
/** * Returns an array containing the IDs of all the markers, either front or back. * @param inFront If `true`, indicates you only want front markers; `false` indicates only back markers **/getMarkers(inFront: boolean): any[];
The text was updated successfully, but these errors were encountered:
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
Hi,
getMarkers
is typed as returning an array, but what it actually returns is an object which uses numbers as keys (i.e.Record<number, MarkerLike>
).Links to the relevant source code snippets are linked to below.
ace/ace.d.ts
Line 448 in a505922
ace/lib/ace/edit_session.js
Lines 664 to 672 in a505922
ace/lib/ace/edit_session.js
Lines 146 to 147 in a505922
This is then, somehow, filtering through into brace as
any[]
(also with bad/wrong documentation), but that is perhaps a separate issue to place either there or at the definitelytyped repo:https://github.com/thlorenz/brace/blob/032404bee863470d8fd81a860c227466d48206e2/index.d.ts#L679-L683
The text was updated successfully, but these errors were encountered: