This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class NgReduxFake { | |
private selectedState: any; | |
private target: any; | |
private mapState: Function; | |
push(selectedState: any) { | |
if (!_.isPlainObject(selectedState)) { | |
throw 'selectedState must be a plain object'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require("express"); | |
// Create the API application. | |
var api = express(); | |
api.get("/v1/money", function(req, res) { | |
res.json({ "bling": "$$$" }); | |
}); | |
module.exports = api; |