File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/string
remove-punctuation/docs/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import capitalize = require( './index' );
2626 capitalize ( 'abc' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 capitalize ( true ) ; // $ExpectError
3232 capitalize ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import ltrim = require( './index' );
2626 ltrim ( ' Whitespace ' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 ltrim ( true ) ; // $ExpectError
3232 ltrim ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import lowercase = require( './index' );
2626 lowercase ( 'abc' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 lowercase ( true ) ; // $ExpectError
3232 lowercase ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import removeFirst = require( './index' );
2626 removeFirst ( 'abc' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 removeFirst ( true ) ; // $ExpectError
3232 removeFirst ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import removeFirst = require( './index' );
2626 removeFirst ( 'abc' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 removeFirst ( true ) ; // $ExpectError
3232 removeFirst ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import removePunctuation = require( './index' );
2626 removePunctuation ( 'Sun Tzu said: "A leader leads by example not by force."' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 removePunctuation ( true ) ; // $ExpectError
3232 removePunctuation ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import reverse = require( './index' );
2626 reverse ( 'last man standing' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 reverse ( true ) ; // $ExpectError
3232 reverse ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import rtrim = require( './index' );
2626 rtrim ( ' Whitespace ' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 rtrim ( true ) ; // $ExpectError
3232 rtrim ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import startcase = require( './index' );
2626 startcase ( 'Last man standing' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 startcase ( true ) ; // $ExpectError
3232 startcase ( false ) ; // $ExpectError
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import trim = require( './index' );
2626 trim ( ' Whitespace ' ) ; // $ExpectType string
2727}
2828
29- // The function does not compile if provided a value other than a number ...
29+ // The function does not compile if provided a value other than a string ...
3030{
3131 trim ( true ) ; // $ExpectError
3232 trim ( false ) ; // $ExpectError
You can’t perform that action at this time.
0 commit comments