Upgrade to typescript@3.6.3

This commit is contained in:
Jerko Steiner 2019-09-14 11:58:00 +07:00
parent c14456b606
commit 177c52b438
3 changed files with 16 additions and 11 deletions

9
package-lock.json generated
View File

@ -2224,6 +2224,9 @@
"@rondo.dev/test-utils": {
"version": "file:packages/test-utils"
},
"@rondo.dev/validator": {
"version": "file:packages/validator"
},
"@types/babel__core": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.0.tgz",
@ -15086,9 +15089,9 @@
}
},
"typescript": {
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.2.tgz",
"integrity": "sha512-7KxJovlYhTX5RaRbUdkAXN1KUZ8PwWlTzQdHV6xNqvuFOs7+WBo10TQUqT19Q/Jz2hk5v9TQDIhyLhhJY4p5AA==",
"version": "3.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.3.tgz",
"integrity": "sha512-N7bceJL1CtRQ2RiG0AQME13ksR7DiuQh/QehubYcghzv20tnh+MQnQIuJddTmsbqYj+dztchykemz0zFzlvdQw==",
"dev": true
},
"typescript-tslint-plugin": {

View File

@ -90,7 +90,7 @@
"tsify": "^4.0.1",
"tslint": "^5.12.0",
"ttypescript": "^1.5.7",
"typescript": "^3.5.2",
"typescript": "^3.6.3",
"typescript-tslint-plugin": "^0.5.4",
"uglify-js": "^3.5.3",
"uglifyify": "^5.0.1",

View File

@ -7,13 +7,15 @@ import { pack, TStateSelector } from './pack'
describe('pack', () => {
interface IChangeAction {
payload: {a: number, b: string},
type: 'CHANGE'
}
interface IProps {
a: number
b: string
update(a: number, b: string): {
payload: {a: number, b: string},
type: 'CHANGE',
}
update(a: number, b: string): IChangeAction
c: string[]
}
@ -71,7 +73,7 @@ describe('pack', () => {
getLocalState,
(localState: LocalState) => localState,
{
update(a: number, b: string) {
update(a: number, b: string): IChangeAction {
return {
payload: {a, b},
type: 'CHANGE',
@ -89,7 +91,7 @@ describe('pack', () => {
getLocalState,
(localState: LocalState) => localState,
{
update(a: number, b: string) {
update(a: number, b: string): IChangeAction {
return {
payload: {a, b},
type: 'CHANGE',