File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 20
20
"docs" : " typedoc" ,
21
21
"exports:check" : " api-extractor run --verbose" ,
22
22
"exports:update" : " api-extractor run --verbose --local" ,
23
- "fix" : " eslint --max-warnings 0 src --fix src && prettier --write src test" ,
23
+ "fix" : " eslint --max-warnings 0 src --fix && prettier --write src test" ,
24
24
"lint" : " eslint --max-warnings 0 src && prettier --check src test" ,
25
25
"test" : " npm run test:unit && npm run test:integration" ,
26
26
"test:integration" : " tsc && mocha test/**/*.spec.ts" ,
Original file line number Diff line number Diff line change @@ -50,29 +50,23 @@ export class SupportCodeBuilder {
50
50
51
51
constructor ( private readonly newId : ( ) => string ) { }
52
52
53
- registerParameterType (
54
- options : Omit < RegisteredParameterType , 'id' >
55
- ) : SupportCodeBuilder {
53
+ registerParameterType ( options : Omit < RegisteredParameterType , 'id' > ) : SupportCodeBuilder {
56
54
this . parameterTypes . push ( {
57
55
id : this . newId ( ) ,
58
56
...options ,
59
57
} )
60
58
return this
61
59
}
62
60
63
- registerBeforeHook (
64
- options : Omit < RegisteredHook , 'id' >
65
- ) : SupportCodeBuilder {
61
+ registerBeforeHook ( options : Omit < RegisteredHook , 'id' > ) : SupportCodeBuilder {
66
62
this . beforeHooks . push ( {
67
63
id : this . newId ( ) ,
68
64
...options ,
69
65
} )
70
66
return this
71
67
}
72
68
73
- registerAfterHook (
74
- options : Omit < RegisteredHook , 'id' >
75
- ) : SupportCodeBuilder {
69
+ registerAfterHook ( options : Omit < RegisteredHook , 'id' > ) : SupportCodeBuilder {
76
70
this . afterHooks . push ( {
77
71
id : this . newId ( ) ,
78
72
...options ,
You can’t perform that action at this time.
0 commit comments