Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

Commit 7fbff7e

Browse files
committed
BUGFIX: Use comma instead of semi-colon in type definitions
1 parent 63780e6 commit 7fbff7e

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to the "vscode-awesome-ts-react-redux-snippets" extension wi
33

44
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
55

6+
## [2.1.1] - 2019-03-18
7+
- Bugfix:
8+
- use comma instead of semi-colon in type definitions
9+
610
## [2.1.0] - 2019-03-15
711
- Use synthetic default exports, e.g.:
812
```ts

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-awesome-ts-react-redux-snippets",
33
"displayName": "Type safe React & Redux Snippets in TypeScript",
44
"description": "Features: Fully Typed Redux state, actions, reducers, selectors and epics; React component with props, defaultProps, state, defaultState; container components with mapStateToProps & mapDispatchToProps.",
5-
"version": "2.1.0",
5+
"version": "2.1.1",
66
"publisher": "Sandstorm",
77
"author": {
88
"name": "Sandstorm Media"

snippets/typescript.snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"// State",
1414
"//",
1515
"export type ${1:StoreName}State = Readonly<{",
16-
"\ttemplate?: string;",
16+
"\ttemplate?: string,",
1717
"}>;",
1818
"\r",
1919
"const initialState: ${1:StoreName}State = {",

snippets/typescriptreact.snippets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"// Props",
1010
"//",
1111
"type ${1:ComponentName}Props = Readonly<{",
12-
"\ttemplate: string;",
12+
"\ttemplate: string,",
1313
"}>;",
1414
"\r",
1515
"type DefaultProps = PickDefaultProps<${1:ComponentName}Props, 'template'>;",
@@ -22,7 +22,7 @@
2222
"// State",
2323
"//",
2424
"type ${1:ComponentName}State = Readonly<{",
25-
"\tisCool: boolean;",
25+
"\tisCool: boolean,",
2626
"}>;",
2727
"\r",
2828
"const initialState: ${1:ComponentName}State = {",

0 commit comments

Comments
 (0)