Skip to content

Commit 1cfdb61

Browse files
committed
fix: allow array-like objects
1 parent deff338 commit 1cfdb61

File tree

1 file changed

+5
-1
lines changed
  • lib/node_modules/@stdlib/math/base/tools/evalpoly-compile/docs/types

1 file changed

+5
-1
lines changed

lib/node_modules/@stdlib/math/base/tools/evalpoly-compile/docs/types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
// TypeScript Version: 4.1
2020

21+
/// <reference types="@stdlib/types"/>
22+
23+
import { Collection } from '@stdlib/types/array';
24+
2125
/**
2226
* Interface describing function options.
2327
*/
@@ -39,7 +43,7 @@ interface Options {
3943
* var str = compile( [ 3.0, 2.0, 1.0 ] );
4044
* // returns <string>
4145
*/
42-
declare function compile( c: Array<number>, options?: Options ): string;
46+
declare function compile( c: Collection<number>, options?: Options ): string;
4347

4448

4549
// EXPORTS //

0 commit comments

Comments
 (0)