Skip to content

Commit

Permalink
Merge d13ee93 into 50cdb57
Browse files Browse the repository at this point in the history
  • Loading branch information
xAlien95 committed Nov 29, 2018
2 parents 50cdb57 + d13ee93 commit ed1d831
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ docs
scripts
shortcuts
src
.github
.gitignore
.jsdoc.json
.nvmrc
CONTRIBUTING.md
CODE_OF_CONDUCT.md
PULL_REQUEST_TEMPLATE.md
jest.config.js
tsconfig.json
tsconfig.release.json
tslint.json
playground.js
4 changes: 2 additions & 2 deletions src/actions/getContentsOfUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '../utils';

import WFHTTPBodyType from '../interfaces/WF/WFHTTPBodyType';
import WFHttpMethod from '../interfaces/WF/WFHTTPMethod';
import WFHTTPMethod from '../interfaces/WF/WFHTTPMethod';
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction';

/** @ignore */
Expand Down Expand Up @@ -44,7 +44,7 @@ const getContentsOfUrl = (
[x: string]: Value,
};
/** The HTTP method to use */
method?: WFHttpMethod;
method?: WFHTTPMethod;
/** The request body type */
requestBodyType?: WFHTTPBodyType;
/** The request body */
Expand Down
4 changes: 2 additions & 2 deletions src/interfaces/WF/WFHTTPBodyType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*/
type WFHTTPBodyType = (
'JSON'
| 'Form'
| 'File'
| 'Form'
| 'File'
);

export default WFHTTPBodyType;
14 changes: 7 additions & 7 deletions src/interfaces/WF/WFHTTPMethod.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* @typedef {('GET'|'POST'|'PUT'|'DELETE'|'PATCH')} WFHttpMethod
* @typedef {('GET'|'POST'|'PUT'|'DELETE'|'PATCH')} WFHTTPMethod
*/
type WFHttpMethod = (
type WFHTTPMethod = (
'GET'
| 'POST'
| 'PUT'
| 'DELETE'
| 'PATCH'
| 'POST'
| 'PUT'
| 'DELETE'
| 'PATCH'
);

export default WFHttpMethod;
export default WFHTTPMethod;

0 comments on commit ed1d831

Please sign in to comment.