Skip to content

Commit ed4d289

Browse files
authored
chore: housekeeping (#225)
* chore: bump deps * chore: avoid to output d.ts on test * chore: update license year
1 parent a415a17 commit ed4d289

File tree

7 files changed

+1764
-450
lines changed

7 files changed

+1764
-450
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2017 Evan You
3+
Copyright (c) 2015-present Evan You
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

build/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const version = process.env.VERSION || require('../package.json').version
88
const banner =
99
`/**
1010
* vue-class-component v${version}
11-
* (c) 2015-${new Date().getFullYear()} Evan You
11+
* (c) 2015-present Evan You
1212
* @license MIT
1313
*/`
1414

example/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import World from './World'
2828
})
2929
export default class App extends Vue {
3030
// props have to be declared for typescript
31-
propMessage: string
31+
propMessage!: string
3232
3333
// inital data
3434
msg: number = 123
@@ -53,7 +53,7 @@ export default class App extends Vue {
5353
}
5454
5555
// dynamic component
56-
$refs: {
56+
$refs!: {
5757
helloComponent: Hello
5858
}
5959
}

0 commit comments

Comments
 (0)