Skip to content

Commit 0641929

Browse files
authored
fix lint error
Signed-off-by: Mahfuza Humayra Mohona <[email protected]> Signed-off-by: Mahfuza Humayra Mohona <[email protected]>
1 parent 633dc6b commit 0641929

File tree

1 file changed

+7
-7
lines changed
  • lib/node_modules/@stdlib/number/float64/reviver/docs/types

1 file changed

+7
-7
lines changed

lib/node_modules/@stdlib/number/float64/reviver/docs/types/test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ import reviveNumber = require( '../../lib/main' );
2323

2424
// The function revives a JSON-serialized number...
2525
{
26-
const o = {
27-
'type': 'float64',
28-
'value': 'NaN'
29-
};
30-
reviveNumber( 'key', o ); // $ExpectType any
26+
const o = {
27+
'type': 'float64',
28+
'value': 'NaN'
29+
};
30+
reviveNumber( 'key', o ); // $ExpectType any
3131
}
3232

3333
// The compiler throws an error if the function is provided a first argument that is not a string or number...
@@ -42,6 +42,6 @@ import reviveNumber = require( '../../lib/main' );
4242

4343
// The compiler throws an error if the function is provided insufficient arguments...
4444
{
45-
reviveNumber(); // $ExpectError
46-
reviveNumber( 'foo' ); // $ExpectError
45+
reviveNumber(); // $ExpectError
46+
reviveNumber( 'foo' ); // $ExpectError
4747
}

0 commit comments

Comments
 (0)