File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -96,5 +96,6 @@ declare class Faker {
9696 game ( options ?: OptionsGame ) : any ;
9797 house ( options ?: OptionsHouse ) : any ;
9898 sport ( options ?: OptionsSport ) : any ;
99+ blood ( ) : any ;
99100}
100101export default function faker ( options ?: OptionsFaker ) : Faker ;
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import lastName from '@fakerjs/lastname';
2222import game from '@fakerjs/game' ;
2323import house from '@fakerjs/house' ;
2424import sport from '@fakerjs/sport' ;
25+ import blood from '@fakerjs/blood' ;
2526
2627class Faker {
2728 _options = { } ;
@@ -86,6 +87,10 @@ class Faker {
8687 return superhero ( ) ;
8788 }
8889
90+ blood ( ) {
91+ return blood ( ) ;
92+ }
93+
8994 word ( options ) {
9095 return word ( options ) ;
9196 }
Original file line number Diff line number Diff line change @@ -24,4 +24,5 @@ expectType<string>(faker().firstName());
2424expectType < string > ( faker ( ) . lastName ( ) ) ;
2525expectType < any > ( faker ( ) . game ( ) ) ;
2626expectType < any > ( faker ( ) . house ( ) ) ;
27- expectType < any > ( faker ( ) . sport ( ) ) ;
27+ expectType < any > ( faker ( ) . sport ( ) ) ;
28+ expectType < any > ( faker ( ) . blood ( ) ) ;
Original file line number Diff line number Diff line change 6161 "@fakerjs/lastname" : " ^1" ,
6262 "@fakerjs/game" : " ^1" ,
6363 "@fakerjs/house" : " ^1" ,
64- "@fakerjs/sport" : " ^1"
64+ "@fakerjs/sport" : " ^1" ,
65+ "@fakerjs/blood" : " ^1"
6566 }
6667}
You can’t perform that action at this time.
0 commit comments