|
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 | |
|---|
| 1 | export as namespace stable;
|
|---|
| 2 | export = stable;
|
|---|
| 3 |
|
|---|
| 4 | type Comparator<T> = ((a : T, b : T)=>boolean) | ((a: T, b : T)=>number);
|
|---|
| 5 |
|
|---|
| 6 | declare function stable<T>(array : T[], comparator? : Comparator<T>) : T[];
|
|---|
| 7 | declare namespace stable {
|
|---|
| 8 | export function inplace<T>(array: T[], comparator? : Comparator<T>) : T[];
|
|---|
| 9 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.