source: frontend/node_modules/stable/index.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 305 bytes
Line 
1export as namespace stable;
2export = stable;
3
4type Comparator<T> = ((a : T, b : T)=>boolean) | ((a: T, b : T)=>number);
5
6declare function stable<T>(array : T[], comparator? : Comparator<T>) : T[];
7declare namespace stable {
8 export function inplace<T>(array: T[], comparator? : Comparator<T>) : T[];
9}
Note: See TracBrowser for help on using the repository browser.