Last active
March 25, 2017 06:48
-
-
Save hakant/837f08708feed35b2d02b99269f0e916 to your computer and use it in GitHub Desktop.
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
import executor from "../infrastructure/command-executor"; | |
import {TestRequest, TestResponse} from "../handlers/test-handler"; | |
let request = new TestRequest(); | |
request.name = "Hakan"; | |
let response = executor.Execute<TestRequest, TestResponse>(request); | |
console.log(response.message); // Prints 'Hello Hakan' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment