Skip to content

Commit d1ef63b

Browse files
renovate[bot]yyxi
authored andcommitted
fix(deps): update minor (#29)
1 parent 647779c commit d1ef63b

File tree

4 files changed

+23
-21
lines changed

4 files changed

+23
-21
lines changed

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"@commitlint/cli": "8.1.0",
1515
"@commitlint/config-conventional": "8.1.0",
1616
"@types/chai": "4.2.0",
17-
"@types/lodash": "4.14.137",
17+
"@types/lodash": "4.14.138",
1818
"@types/mocha": "5.2.7",
19-
"@types/node": "12.7.2",
19+
"@types/node": "12.7.3",
2020
"chai": "4.2.0",
2121
"codecov": "3.5.0",
2222
"husky": "3.0.4",
23-
"lint-staged": "9.2.3",
23+
"lint-staged": "9.2.5",
2424
"prettier": "1.18.2",
2525
"semantic-release": "15.13.24",
2626
"syncpack": "4.5.4",
@@ -29,7 +29,7 @@
2929
"tslint-config-prettier": "1.18.0",
3030
"tslint-config-standard": "8.0.1",
3131
"tslint-microsoft-contrib": "6.2.0",
32-
"typescript": "3.5.3"
32+
"typescript": "3.6.2"
3333
},
3434
"engines": {
3535
"node": ">=10.16.0"

test/email.spec.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ describe('email', () => {
3232
const _log: never[] = log(test)
3333
const _state: InitialState = state(test)
3434

35+
// const qwe = _state.cc
36+
3537
assert.isObject(test)
3638
assert.hasAllKeys(test, ['to', 'plugin', SYMBOL_LOG, SYMBOL_STATE])
3739
assert.isFunction(test.to)
@@ -245,7 +247,7 @@ describe('email', () => {
245247
subject: 'Hello World'
246248
body: 'Totam est perferendis provident consequatur et harum autem.'
247249
plugins: Array<typeof SYMBOL_CC | typeof SYMBOL_ATTACHMENT>
248-
cc: [] | undefined
250+
cc?: []
249251
}
250252
> = state(test)
251253

@@ -303,7 +305,7 @@ describe('email', () => {
303305
subject: 'Hello World'
304306
body: 'Totam est perferendis provident consequatur et harum autem.'
305307
plugins: Array<typeof SYMBOL_CC | typeof SYMBOL_ATTACHMENT>
306-
cc: Array<'jane.doe@example.com' | 'justin.doe@example.com'> | undefined
308+
cc?: Array<'jane.doe@example.com' | 'justin.doe@example.com'>
307309
}
308310
> = state(test)
309311

@@ -370,7 +372,7 @@ describe('email', () => {
370372
subject: 'Hello World'
371373
body: 'Totam est perferendis provident consequatur et harum autem.'
372374
plugins: Array<typeof SYMBOL_CC | typeof SYMBOL_ATTACHMENT>
373-
cc: [] | undefined
375+
cc?: []
374376
}
375377
> = state(test)
376378

test/email/cc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export interface ActionCC<T extends string> {
1515

1616
declare module './types' {
1717
export interface State {
18-
cc: string[] | undefined
18+
cc?: string[]
1919
}
2020

2121
export interface InitialState {
22-
cc: [] | undefined
22+
cc?: []
2323
}
2424

2525
export interface Email<T extends Model<State>> {

0 commit comments

Comments
 (0)