Skip to content

Commit a4a513a

Browse files
committed
Auto-generated commit
1 parent af70f24 commit a4a513a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎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 //

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"@stdlib/assert-is-integer": "^0.2.1",
4141
"@stdlib/fs-read-file": "^0.2.1",
4242
"@stdlib/string-base-uppercase": "^0.2.1",
43-
"@stdlib/string-replace": "^0.2.1"
43+
"@stdlib/string-replace": "^0.2.1",
44+
"@stdlib/types": "^0.3.2"
4445
},
4546
"devDependencies": {
4647
"@stdlib/array-float64": "^0.2.1",

0 commit comments

Comments
 (0)