New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert src/ to TypeScript #68

merged 25 commits into from Feb 18, 2017
Jump to file or symbol
Failed to load files and symbols.
+18 −17
Diff settings


Just for now

Viewing a subset of changes. View all

Convert Payload to TypeScript

  • Loading branch information...
saneyuki committed Feb 16, 2017
commit 27520ff7eecb834870d2095d6050e33983cefd06

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,18 @@
"use strict";
export default class Payload {
* `type` is unique property of the payload.
* A `type` property which may not be `undefined`
* It is a good idea to use string constants or Symbol for payload types.
readonly type: any;
* @param {*} type
constructor({ type }: { type: any; }) {
this.type = type;
ProTip! Use n and p to navigate between commits in a pull request.