Skip to content

Commit 8060caf

Browse files
committed
fix: allow array-like objects
1 parent c12e373 commit 8060caf

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

lib/node_modules/@stdlib/math/base/tools/evalpoly-compile-c/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
*/
@@ -44,7 +48,7 @@ interface Options {
4448
* var str = compile( [ 3.0, 2.0, 1.0 ] );
4549
* // returns <string>
4650
*/
47-
declare function compile( c: Array<number>, options?: Options ): string;
51+
declare function compile( c: Collection<number>, options?: Options ): string;
4852

4953

5054
// EXPORTS //

0 commit comments

Comments
 (0)